asp+|server|server2000|sql|sqlserver| programming
A few days ago to help people debug a asp+sql2000+iis5.1/6.0 Web site program, debugging process encountered in the following questions:
One, SQL Server login
There was a backup database, imported
server| Error
One. " SQL Server does not exist or access is denied "This is the most complex, the cause of the error is more, need to check the aspect also more.Generally speaking, there are several possibilities:1,sql server name or IP address is
server| Data | database
Common failures that SQL Server cannot start
--Did you modify the operating system password?
--Modifying the operating system password, which causes SQL to not start the workaround:
1. My Computer--control Panel--management
The database system just installed, by default, is likely to be a remote connection times wrong, usually error: "When connecting to SQL Server 2005, the default setting for SQL Server to disallow remote connections may cause this failure."
server| Error | Resolve through the above several aspects of the inspection, error 1 The cause of the occurrence can basically be excluded. Let's describe in detail how to troubleshoot error 2.
The error message shown in Figure 2 is often
Change database name
(1)
ALTER DATABASE database_name
Modify Name=new_database_name
(2)
Sp_renamedb Olddbname,newdbname
Add data files and filegroups (expand)
(1) Add data file
Use master
Go
DECLARE @data_path nvarchar (256);
--Get the
Server
Common failures that SQL Server cannot start
--Did you modify the operating system password?
--Modifying the operating system password, which causes SQL to not start the workaround:
1.My Computer--control Panel--management tools--services--
When restoring a database today, restore the database in SSMs with the following code:
RESTORE DATABASE [TEST] from DISK = N ' D:\TEST. BAK ' with FILE = 1,Move N ' TEST ' to n ' C:\Program Files\Microsoft SQL Server\mssql10_50.mssqlserver\mssql\
server| Resolution | How the problem resolves connection problems in SQL Server 2000 apply to important notes: This article contains information about modifying the registry. Be sure to back up the registry before you modify the registry, and be
Error message displayed:
Error message:
The process was unable to the table "dbo". " Company "" For bulk copy. (Source: MSSQL_REPL, Error number: mssql_repl20037)
Getting Help: http://help/MSSQL_REPL20037
Batch Send failed
The length of text
Backup | server | issues
A problem occurred during the implementation of the backup process due to the need to back up the database to the backup server.
such as the native SQL Server is: 10.101.38.135.
Need to back up to 10.101.38.139\d$\tempdb
The
Prepare to do before copying:
1. Publisher, Subscriber creates a Windows user with the same name and sets the same password as a valid access user for the publication snapshot folder
My computer
Control Panel
Management tools
Computer
----Fault 1:master has backup
1.backup Database for Master
Backup Database Master to disk= ' e:\master.bkf ' with format
Go
2.stop MSSQLServer Service
net stop MSSQLServer
3.start SQL Server with single user mode
C:\>CD C:\Program
Recently done a project, I began to use the MYSQL 5.0 database, the project submitted, the other request to change to MS SQL Server 2000, fortunately, the data-tier operation is based on the standard SQL statements, also did not use stored
server| Error | Resolving the problem with SQL Server is that the most common problems users encounter are the failure of the connection. In general, there are two ways to connect SQL Server, one is to take advantage of SQL Server's own client tools,
server| Error
Three of the most common errors in SQL Server connections:
One. " SQL Server does not exist or access is denied "
This is the most complex, the cause of the error is more, need to check the aspect also more.
Generally speaking,
common failures that SQL Server cannot start
--Did you modify the operating system password?
--modifies the operating system password, which causes SQL to fail to start:
1. My Computer--control Panel--management tools--services--right key
We know that SQL Server restart is divided into two steps.
1. Stop
net stop MSSQLServer
2, restart
NET start MSSQLServer
3. Add MySQL stop, start command
net stop MySQL
net stop MySQL
Let's collect this page. You won't forget it next time.
Server| Solution | Question: What if the configuration of Tempdb in RAM goes wrong?
A: SQL Server provides a mechanism for storing tempdb in memory to improve system efficiency. However, if you set the value of "Tempdb in Ram" to
Large, which can
server| Stored Procedures | functions
1. Debugging in Query AnalyzerThe steps for debugging in Query Analyzer are as follows:SQL 2000 Query Analyzer--left Join's Object Browser (no words pressed F8)--In Object items--Right-click Stored procedures
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.