SQL SERVER application FAQ 13 examples (1)

Source: Internet
Author: User
Tags character set
Q: How can I operate SQL Server 6.5 servers under SQL Enterprise Manager version 6.0?
A: Before using SQL Enterprise Manager version 6.5 to operate SQL Server 6.0, you must first run it on the 6.0 Server.
SQLOLE65. SQL. The file is in the MSSQLINSTALL directory.
Q: Before upgrading SQL Server 6.0 to SQL Server 6.5, how can I execute chkupg65.exe first?
A: Chkupg65.exe automatically checks whether the SQL Server 6.0 database is in the normal state and whether all objects in the database use SQL
The new keyword in Server 6.5. The detected error information is recorded in the output file with the OUT suffix.
Q: How can I move a database file from one disk to another in SQL Servr7.0?
A: You can use the SP_DETACH_DB and SP_ATTACH_DB stored procedures. The procedure is as follows:
Run SP_DETACH_DB to separate the target database from the SQL Server.
Copy the data files (. MDF) and log files (. LDF) of the target database to the target disk.
Run SP_ATTACH_DB to restore the files on the target disk to SQL Server.
Q: How can I modify the Character Set of the SQL Server7.0 database?
A: You can use rebuildm.exe to modify Character Set and Sort Order. Modifying the Character Set will affect all data managed by SQL Server.
Database, that is, all databases use the new Character Set.
Q: How can I upgrade from SQL Server6.5 to SQL Server7.0 on two machines?
A: First, you must set the SQL Server6.5 running account as a domain account, and SQL Server7.0 installed on another machine also uses this domain account.
User. The domain account must belong to the administrator Group of the two machines. Finally, the machines running SQL Server6.5 and SQL Server7.0 must be in the same domain.

Related Article

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.