SQL Server function converts renminbi numbers to uppercase
CREATE FUNCTION [dbo]. [F_num_chn] (@num numeric (14,5))
RETURNS varchar with encryption
As
BEGIN
DECLARE @n_data VARCHAR (VARCHAR), @c_data (a), @n_str VARCHAR (a), @i int
SET @n_data
First, the preface
SQL Server Backup and restore strategy, which includes a graphical guide to restoring various backup files through the SSMs operation, a minimal downtime migration solution for SQL Server databases, which uses SQL scripts (t) to
Strictly speaking, having does not require a child table, but having no child table has no practical significance. If you only need a table, then you can use the WHERE clause to achieve all of your goals. For practice, having presupposes at least
--Data manipulation
SELECT-Retrieve rows and columns of data from a database table
INSERT-Add new data rows to a database table
Delete-Deletes rows of data from a database table
Update--updating data in a database table
--Data definition
Convert an Access database data migration to SQL Server 2000
The first step is to open SQL Server 2000 service management, open Enterprise Manager, and create a new database with the name "Access data Conversion";
In the second step, run import
Follow the steps to avoid damaging your database if you do not follow the previous steps.
Generally do not recommend to do 4th, 62 steps, 4th step unsafe, it is possible to damage the database or loss of data. 6th step if the log reaches the upper
SQL Server database paging query has been a short board of SQL Server, idle, come up with several methods, assuming that there are table article, Field ID, year ... (other omitted), Data 53,210 (customer real data, quantity is not large), paging
SQL Server remote connection error? It doesn't matter, the following is an analysis of the causes of the error in SQL Server remote connection and provides a way to solve the problem, and hopefully it will help you learn about SQL Server remote
Before you create a SQL Server 2000 failover cluster, you must configure Microsoft Cluster Service (MSCS) and use the Cluster Administrator in Microsoft Windows NT4.0 or Windows 2000 to create at least one cluster disk resource. Before running SQL
Method One: Use SQL Server Agent (alert+job) The specific steps are as follows:1. First use the following command to enable the relevant trace flags.SQL CodeDBCC Traceon (3605,1204,1222,-1)Description:3605 Output The DBCC results to the error log.120
1. Install and install Mysqlconnector2. Configure MYSQLCONNECTORODBC Data Manager-> System dsn-> add->mysql ODBC 5.3 ANSI driver-> fill in data source Name such as Jt,mysql IP, username, password 3. Create a new linked server exec
Method One
The code is as follows
SELECT Convert (char (6), GETDATE (), 112)
Method Two
The code is as follows
SELECT * FROM table name where Convert (varchar (100), Date field, 23
Let's take a look at the table below: Think about how we can add data to this table more easily in database SQL Server.
Careful observation of this table we are not difficult to find that the ID field of this column of data recharge is
An index is a database object that is based on a table column. The indexed columns in the table are kept in the index, and the physical storage location of the index columns in the database table is recorded, and the logical ordering of the data in
server| full-text Indexing and Full-text search is a new feature of SQL Server 7.0 that enables you to cable character type columns (such as varchar, text, and other types of columns) in your data
, and the Full-text search query is implemented
server| Static | Page This article extracts from the Railway publishing house new "use BackOffice to establish Intranet/extranet application" (now in Haidian Book city has been sold). This book details how to use the Microsoft BackOffice family of
server| data today, customers reflect the growth of database file space is too fast, need to analyze the database table storage space allocation, temporarily wrote the following process,
Share with you.
/********************************Function: Get
server| Repeat | Repeat the following to illustrate the issue of duplicate record deletion.
There are two duplicates of the record, one is a completely duplicate record, that is, all the fields are duplicate records, the second is some key fields
server| Recovery | data | database in SQL Server 7 because MS redesigned the way database files are stored, the tedious process of building a new database is canceled. New storage format, a database consisting of two files, MDF database files and
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.