1. Find an SQL Server server disc, find the "MSDE" directory on the disc, enter the directory, run the setup. EXE file, and follow
Program Installation is required. After the installation is complete, restart the computer.
2. Run the Autorun. EXE file on the CD, or enable the CD to run automatically. After opening the installation interface,
Click "Install
is listening for TCP/IP connection at port 1433.If the command returns an error message "unable to open the connection", it indicates that the server has not started the SQL Server service,The TCP/IP protocol may not be enabled on the server, or the server does not listen o
query execution->The execution message appears in the query window (sometimes some errors may be reported because the stored procedure and user-defined functions are dependent on each other.It is best to first execute the *. SQL file of the User-Defined Function, and then execute the *. SQL file of the stored procedure) 4. Import tables to the SQL
are several tools in SQL Server that allow you to detect, tune, and optimize SQL Server performance. In this article, I'll show you how to use the tools of SQL
, the TCP/IP protocol may not be enabled on the server side, or the server side is not listening on SQL Server's default port 1433.
Next, we check the server-side network configuration on the server, check whether named Pipes are enabled, whether the TCP/IP protocol is enab
Sometimes we need to clear the list of Connected Server names in SQL Server. Then we searched through the network and found a solution: delete the following files:
C: \ Documents ents and Settings \ XXX \ Application Data \ Microsoft SQL Server \ 100 \
Execute SQL Server database backup and SQL database backup using Windows batch processing commands
Create mybackup. bat and enter the following content to directly run the script to start automatic database backup. You can also add the script to the windows Task Plan for execution.
@ Echo offset path = % path %; C: Program Files \ Microsoft
as the user's demand for enterprise-class high-performance databases grows, users often convert to a client-server environment in Microsoft SQL Server from the file-server environment of the Microsoft Access jet engine. Access Upsizing Wizard in Microsoft Office 2000 enables you to transfer data tables and queries to
, the specific method is:
1. Use Notepad to open the Hosts file (usually located in C:\WINNT\system32\drivers\etc).
Add a corresponding record for the IP address and server name, such as:
172.168.10.24 MyServer
2. Or configure in SQL Server's client Network Utility, which is explained in detail later.
Second, use the Telnet command to check the working status of the SQL
\ tools
Include the DLL used to manage the SQL Server compact database in SQL Server Management studio. These DLL files are installed by the SQL Server compact 3.5 query tool MSI.T
SQL server data directory ).
Use the plain text SA password in the installation file.
Grant excessive permissions to the Guest account.
Run SQL server in a system that is also a domain controller.
The owner (everyone) group is incorrectly configured to provide access to a specific registry key.
The
Server 2000 (64-bit ). You can attach a 32-bit database to a 64-bit database by usingSp_attach_dbSystem stored procedures orSp_attach_single_file_dbSystem stored procedures, or use the backup and restoration functions in the 32-bit Enterprise Manager. You can move the database back and forth between the 32-bit and 64-bit versions of SQL Server. You can also use
Interconnection, but the specific implementation technologies of different vendors are different, such: in SQL SERVER, it is called LINKED SERVER, and ODBC is used to interconnect with other databases.
The test environment in this article is:
Operating System: Windows2000 SERVER (Traditional Chinese System)
Install th
I often encounter some questions about database optimization. I think this is the most basic skill requirement, especially the use of SQLServer2005. for SQL Server optimization, full-time or part-time DBAs are easier to work and more efficient, but many new users may not know much about them, I will write some basic introductions here.
I. First, I will introduce the two
access|server| Data | Databases as users grow in demand for enterprise-class high-performance databases, users often have to switch from a file-server environment in a Microsoft Access jet engine to a client-server environment in Microsoft SQL Server. Access Upsizing Wizard
system that is also a domain controller.
Incorrect configuration of the Everyone group, providing access to specific registry keys.
Incorrect configuration of the SQL Server service account.
The necessary service packs and security updates are not installed.
Using Windows authentication Mode
Whenever possible, you should require Windows authentication mode for connections to
Create an Oracle Link Server in 64-bit SQL Server
Sometimes we want to access data from another SQL Server database or data from other Oracle databases under one SQL Server. to complete
also a domain controller.
The owner (Everyone) group is incorrectly configured to provide access to a specific registry key.
The SQL Server service account is incorrectly configured.
No necessary service packages and security updates are installed.
Use Windows Authentication Mode
Whenever possible, you should require the Windows Authentication Mode for the connection to the
, the system will provide a private Extended user mode address space for the process. You can use DumpBin, ImageCfg, and other tools that can analyze executable file headers to check whether the application has enabled this flag. Visual C ++ supports IMAGE_FILE_LARGE_ADDRESS_AWARE through the/LARGEADDRESSAWARE connection switch. SQL Server enables this flag. Ther
configuration on the server to check if named Pipes are enabled. TCP/IP protocol enabled and so on =============
You can use SQL Server's own server network usage tools for checking.
Click: Program-Microsoft SQL Server-
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.