This post mainly summarizes Database Backup issues
Back up the database to a remote machine. The remote machine may not have databases installed.Http://community.csdn.net/Expert/topic/4932/4932438.xml? Temp =.
It is estimated that a table is inserted in the stored procedure! So how can I find the process name?Select object_name (ID) from syscomments where text like '% table name %'
Deletes the record with the last time record of the repeat ID.ID
After sql2005 is installed, what will be changed in the database after the Chinese version is submitted? Number (not garbled)
It has been verified that the database sorting rule (collation) is incorrect. To write Chinese characters correctly to the
1. The 64-bit operating system is incompatible and cannot be installed. solution: Because the SQL Server 2000 software is 32-bit, it may be incompatible with the 64-bit system. If you install it in another way, this problem will be solved. If
Solution:
Method 1.When an error occurs, find "HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ Session Manager" in the Registry and delete the value of "pendingfilerenameoperations.Then run the installation again.
Method 2.You cannot
When querying a database, we sometimes need to find data records in rows within a specified range in the data table. For example, we need to find the 10 data records between 10th rows and 20th rows in the data table, so how can we implement it?
How to create and execute data transformation services (DTS) in SQL Server 2000 of Microsoft, you can use data transformation services (DTS )) the software package extends database events to application software. This article will show you how to
How to use SQL Server proxy to schedule DTS Packages (Enterprise Manager)
Use SQL Server proxy to schedule DTS Packages
In the SQL Server Enterprise Manager Console tree, expand the "manage" node and click "SQL Server proxy ".
In the details
I. Could you tell me how to copy the structure of other tables to a specified table? For example:
There are three tables:
Table A: Field 1, Field 2, and field 3
Table B: Field 1, Field 2, Field 3
Table C: Field 1, Field 2, Field 3
Now, we want to
Set ansi_nulls off
Go
Set nocount on
Go
Set language 'simplified China'
Go
Declare @ TBL nvarchar (200), @ brief nvarchar (200), @ SQL nvarchar (4000), @ maxlen int, @ sample nvarchar (40)
Select D. Name tablename, A.
After being set to "suspicious", I was puzzled that I had not encountered such a situation before. I asked a few seniors who still did not find the problem. Finally, I have solved the problem. Now I want to share my solution with you:
First, the
Returns a report that contains information about the user permissions or statement permissions of an object in the current database.
Syntax
Sp_helprotect [[@ name =] 'object _ statement '][, [@ Username =] 'security _ account'][, [@ Grantorname =]
In the past, due to the high Memory price, the general configuration of memory is not much, more than 4 GB of course not much. currently, there are many servers with more than 4 GB configurations. After being configured as an SQL database server,
The bcp utility copies data between a Microsoft SQL Server 2000 instance and a data file in a user-specified format.
Syntax
Bcp {[[database_name.] [owner].] {table_name | view_name} | "query "}
{In | out | queryout | format} data_file
[-M max_errors]
Set transaction isolation level (Transact-SQL)
Control the locking behavior and row version control behavior of the Transact-SQL statement issued by the connection to SQL Server.
Transact-SQL syntax conventionsSyntax
SET TRANSACTION ISOLATION
1. page size of all records: select top page size * FROM UsersWHERE (id not in (select top (page size * (page size-1) id from Users order by id desc )) // skip (page size * (page size-1) record order by id desc 2. page that meets the condition
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service