Source: http://blog.csdn.net/qygaojiansheng/archive/2009/04/26/4126364.aspx
If the table already exists, the SQL statement is:
Insert into AA select * From OpenDataSource ('Microsoft. Jet. oledb.4.0 ',
'Data source = D: \ outdata.xls;
Openness
SQL ServerIt can only run on Windows without any openness. The stability of the operating system is very important to the database. The Windows9X series products focus on desktop applications, and the NT server is only suitable for small
However, before SQL server 2005, SQL SERVER 2000 did not provide this direct function for us to use. The same is true for ACCESS.
The following describes the implementation process of data ranking in two cases. The test data is as follows:
The
First, let's talk about ms server. Because I am a newbie, I first chose to use the Enterprise Manager for task settings and then export the designed task script, in this way, you can directly execute scripts in other databases to create a task (you
Today, we found a bug in the project, that is, about field sorting.
I wanted to get the result as follows:
However, the result is as follows: Put the A1 fan to the last one:
It is determined that it is not a plug-in problem, it must be an SQL
1. Index in SQL Server
An index is a disk structure associated with a table or view, which can accelerate the speed of retrieving rows from a table or view. An index contains keys generated by one or more columns in a table or view. These keys are
1. What is a named pipe?
Like TCP/IP (transmission control protocol or internet Protocol), a named pipe is a communication protocol. It is generally used in Lan, because it requires the client to have the permission to access server resources.
To
Before talking about the locking mechanism of SQLServer, let's think about the following scenario: When you ride your car to your destination during the hot summer, there are several long red lights on the road, is it depressing? Sometimes you may
Sqlserver does not support set difference and intersection operations.
I recently developed a database based on sqlserver2000.Program. There is a part of the computation that requires a large number of aggregate queries. I found a query operation
You can use an IP address for connection!
1. Ping is guaranteed first.
2. No error will be reported when Telnet IP 1433 is written in DOS
3. Use an IP address to connect to the Enterprise Manager:
Enterprise Manager --> right-click sqlserver
The following SQL statement passed the test in Access XP Query
Table creation:
Create Table tab1 (
Id counter,
Name string,
Age integer,
[Date] datetime );
TIPS:
Use counter to declare the auto-increment field.
Fields with field names as keywords
Yesterday, when testing a batch insert record database operation, it was found that enabling the transaction has a significant impact on the performance. According to the current environment, there was a 6-fold gap in the test.
Insert 500/5000/5000
I. Syntax differences.
1. Table Data Replication· Data replication in the databaseMs SQL ServerInsert into copy table name SELECT statement (copy table already exists)Select field list into copy table name from table (copy table does not exist)·
Document directory
Difference between Schema and user
Supplement
Schema in SQL Server
We know the database, as its name implies. the most important thing is data management, and data is stored in tables in the system. Therefore, almost all
Basic ways to import/export Excel from SQL Server
/*=================== Import/Export Excel basic methods ===================*/
From the Excel file, import the data into the SQL database, very simply, using the following statement directly:
/*====
Whether it is the implementation of the paging query code in the DRP or interview questions to see the investigation of the paging query, give me a hint: Paging query is important. It must be considered when the volume of data is large. Never took
The two tables used by the trigger are shown below
--Create SC table CREATETABLE[SC] ([Scid]intnotnull,[sno]intnotnull,[cno]intnotnull,[score]intdefaultnull,primarykey ([ScId ])
);
--Add Resume Createtablescore_record (
Sridintnotnull,
It's written in front.
This series of articles is divided into four parts:
1. CLR Overview.
2. Perform CLR integration programming in Visual Studio and deploy to SQL Server, including stored procedures, triggers, custom functions, custom types,
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.