After so many years of mixing in the forum, we have seen an obvious trend: more and more netizens are using VFP and SQL server for the system. Many people are concerned about how to operate or manage SQL Server from VFP. You can use views, SPT, or
11 SQL Server 2000 Database ManagementAs a storage container for database objects, database management has become the basis for database object management. The following describes how to create, modify, and delete a database.
1.1.1 create a
Task: Import pubs againYou can use sp_attach_db in this way. It is very simple to use pubs to pass the test.
Process:1. Stop MSSQLServer and run E: \ Program Files \ Microsoft SQL In the MSSQL installation directory.
Server \ MSSQL \ data \
SQL Server could not generate a FRUNCM thread. The database error log is as follows:
Copy Code code as follows:
2013-09-26 21:21:50.31 server Microsoft SQL Server 2005-9.00.1399.06 (Intel X86)
OCT 14 2005 00:33:37
Copyright (c) 1988-20
Before deleting Microsoft SQL Server, consider the following steps: delete SQL server: delete a specific instance of SQL Server delete all known instances of SQL Server delete default instances of SQL Server Delete name instances of SQL Server how
By default, SQL Server saves seven ErrorLog files named:ErrorLogErrorLog.1ErrorLog.2ErrorLog.3ErrorLog.4ErrorLog.5ErrorLog.6In apacs OS 6.1, The ErrorLog file is saved in the c: \ Program Files \ Microsoft SQL Server \ MSSQL $ WINCC \ LOG folder. In
Database statmemberdata now has 40 GB of log files. Use DBCC shrinkdatabase to compress this log. The process is as follows:
1. Restart the data server (via remote control software)
2. Remotely connect to the data server through the SQL Server Query
Using system;
Using system. Collections. Generic;
Using system. Windows. forms;
Using system. Data. sqlclient;
Using system. Data;
Using system. serviceprocess;
Namespace adminzjc. databasecontrol{/// /// Database Operation Control/// Public class
SDE has been installed for three hours, but it has never been successful. The prompt is:
[Mon May 14 20:43:50 2012] SDE schema object install not completed.
[Mon May 14 20:43:50 2012] Error installing/upgrading ArcSDE, error =-51
[Mon May 14 20
We recommend that you back up the website and upgrade it on the backup website. After the upgrade, you can use the backup website to replace the previous website. The main steps are as follows:
Back up website
Rebuild the backup website to make
Recently, I encountered some difficult problems when I was doing "database Cutting Tools". After many research and searching, I finally solved them. Now I will share them with you, it will take a lot of time to find and explore similar problems in
SQL Server cannot generate FRunCM threads. The Database Error Log is as follows:
Copy codeThe Code is as follows:21:21:50. 31 Server Microsoft SQL Server 2005-9.00.1399.06 (Intel X86)Oct 14 2005 00:33:37Copyright (c) 1988-2005 Microsoft
By default, SQL Server saves 7 ErrorLog files, named:
ErrorLog
Errorlog.1
Errorlog.2
Errorlog.3
Errorlog.4
Errorlog.5
Errorlog.6
In APACS OS version 6.1, the ErrorLog file is saved in the C:\Program Files\Microsoft SQL Server\mssql$wincc\log folder.
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
1. Download and install log Explorer2. Open Log Explorer File=>attach log file-> Select Server and login method->connect->Select Database->attach-> the left dialog box Browse->view log-> to see the log record.To restore: Right-click Log Record undo
master database Restore New problem
--1. Version issues
Problem Description:Restore the master database for the old server on the new server:RESTORE DATABASE MASTERFrom disk= ' c:/tmp/sqlsys20050516. BAK 'With file=1The following error
Server
Today to do a SQL Server 2000 experiment, the simpler kind, the new database, modify the size of the log file, etc., well, it should be relatively simple. The following is still a record of it ~ all so did not come.
/*
* * Creabase. Sql
**
*
After we have installed the SQL Server servers and the server client tools, you can log in to the database using two command-line methods:>sqlwb-s servername or Ip-e #使用当前windows系统的账户登录sqlserver服务器Such as:650) this.width=650; "src="
Welcome to the Windows community forum and interact with 3 million technical staff to create a new query: Enter the command USEmaster; GO; CREATEDATABASE @ DBNAME to write your mdf file and ldf file path in single quotes: ON (FILENAMEC:
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.