SQL Server has powerful replication capabilities, as well as synchronization between databases, in addition to replicating data and database objects from one database to the exact distribution of another. SQL Server replication is divided into three
The security of the database is always very important, I believe it will be helpful to everyone.
1. First, you need to install the latest service pack
One of the most effective ways to improve server security is to upgrade to SQL Server Service
The example in this article describes how C # accesses SQL Server to set a link timeout. Share to everyone for your reference. The implementation methods are as follows:
The following code sets the timeout time to 60 seconds, and the default is 30
Method One: (This is the most commonly used, because many large sections of content use the text ntext and other data types, and we usually also replace the contents)
The varchar and nvarchar types are support replace, so if your text is no more
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
In the implementation of software projects, data import has always been a headache for project personnel. In fact, many methods of batch import data are integrated into SQL Server. Some project implementation consultant headaches, in the eyes of our
SQL Server 2000 makes it easier to export data in XML, but it can be cumbersome to import and process XML data in SQL Server 2000.
If you refer to the books Online (BOL), you will find relevant entries, including OPENXML and OPENROWSET. All of
1. First confirm that the. mdf and. ldf files have been backed up.
2. Create a new database in SQL Server with the same name, and then stop the SQL Server service.
3. Overwrite the. mdf and. ldf files for the new database with the original. mdf
Server today, when invoking a program with a stored procedure, the time or date when the SQL was found is not synchronized with the computer's clock. For example, I change the current time 12:00 to 13:00, and if you get the getdate of SQL Server
server| Recovery | Several ways to recover data in SQL Server:
1. The nature is Backup recovery method Backup This is the safest and most reliable way to operate, as long as you select Restore in SQL Server's Enterprise Manager.
You can also do
server| Encryption | Solving problems in versions 6.0 and 6.5 of Microsoft SQL server, 16-bit and 32-bit client software sets encryption options when using Multi-Protocol network libraries to encrypt data online.
SQL Server relies on the Microsoft
server| Insert | data | loop
Source: Tomorrow go begging ' s Blog
The previous time in testing more than 1 million data paging speed, need to insert 1 million records into the database, at that time inserted record I was written in C #, and later
server| Solution | data | The concept of data synchronous replication
Replication is the technique of copying a set of data from one data source to multiple data sources, and is an effective way to publish a single piece of data to multiple
server| Connection Database | The problem has been found in the last few days that when I took my laptop from the development room to my dorm, my ASP program was unable to connect to the SQL Server database and, after analysis, found that there was
server| data 1, ASP file:
' EXAMPLE as: Put a 24-hour online number in the database into an Excel file
' AUTHOR: Steel Workers
' Email:hello_hhb@21cn.com
' Date:2001-3-25
' Test: Testing through in Nt4,sp6,sql SERVER 7.0,excel2000
%>
Generate
Server|session|sqlserver ASP.net provides three ways to store sessions.
1 InProc
2 State Server
3 SQL Server
The first one is often used, and the 2nd is to use a machine named state server with its memory to store the session status of other
server| Security before you make a secure configuration of your SQL Server 2000 database, you must first configure the system securely.
Make sure your * system is in a safe state. Then do the necessary security audits for the Database software
server| process
To lock application resources (Sp_getapplock/sp_releaseapplock) as an example:
Sp_getapplock no return parameter (output type), only return value in SP
Lock
Dim cmd as Adodb.commandSet cmd = New adodb.commandCmd.
Server|session Flying Knife |2002-2-25
In general, we like to use the session to store our variables. ASP.net provides the following methods for storing the values of the session:
InProc
State Server
SQL Server
"InProc" means that we store the
server| Data | Database preparation knowledge: STREAM, ado.net
Microsoft's SQL Server database image, text and other fields are binary large objects. These objects are accessed slightly differently from other lightweight objects. For example,
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.