There are two methods:
Step 1: query using SQL statements
Select @ version
The query result is as follows:
Microsoft SQL Server 2000-8.00.2039 (Intel x86)May 3 2005 23:18:38Copyright (c) 1988-2003 Microsoft CorporationPersonal Edition on Windows NT 5.1 (build 2600: Service Pack 2)
In fact, in c: \ Program Files \ Microsoft
query through this statement:
SELECT * FROM Sysfiles
DBCC shrinkfile (1) 4. To minimize the log file (if it is SQL 7.0, this step can only be done in Query Analyzer)
Detach Database:
Enterprise Manager--server--database--right key--detach database
Delete log files on my Computer
Additional databases:
Enterprise Manager--server--database--right Key--add
Tags: blog http io ar using strong on file dataThe database is installed and the connection string is required for use in the program. How to write it? Take SQL Server R2 as an example.1, after installing SQL Server R2, similar to Oracle's Plsql tool. SQL
Label:Original: Anatomy of SQL Server 11th automated testing of multiple versions of SQL Server (translated)Anatomy of SQL Server article 11th automated testing of multiple versions of SQL
SQL Server Functions and stored procedures, SQL Server Stored Procedures
The SQL Server function is a structure that encapsulates one or more SQL statements.SQL
Label:As a database administrator of SQL Server, one of the most frequently encountered problems is to see which version of SQL Server you belong to, whether the latest fix pack is installed, and whether the most recent security patches are installed. Prior to this, we could get the relevant information through the fol
SQL Server Enterprise Platform Management Practice reading notes--sql data file space usage and management in server1. Table and index storage structureBefore SQL Server2005, a table was stored in a B-tree or a heap. Each B-tree or heap has a record corresponding to the sysindexes. After
Step 1: query using SQL statementsSelect @ versionThe query result is as follows:Microsoft SQL Server 2000-8.00.2039 (Intel x86)May 3 2005 23:18:38Copyright (c) 1988-2003 Microsoft CorporationPersonal Edition on Windows NT 5.1 (build 2600: Service Pack 2)8.00.2039 indicates the version of the installed SQL
number. You can use this statement to query:
Select * from sysfiles
Dbcc shrinkfile (1) 4. To maximize log file size (for SQL 7.0, this step can only be performed in the query analyzer)
Separate database:
Enterprise Manager -- server -- database -- Right-click -- detach Database
Delete LOG files in my computer
Additional database:
Enterprise Manager -- server
Install the tool when the VS2008 installed vs comes with the SQL tools, waiting for me to install SQL Server R2 when the "earlier version of Microsoft Visual Studio 2008" problem, found on the Internet solution is as follows :------for 32-bit systems (I am a bit of a 64-bit system this is all right.) Installing SQL
connection ", select "local connection and remote connection" and "colleagues use TCP/IP and named pipes", and then click "application ". After receiving the message "the changes made to the connection settings will take effect only after the Database Engine service is restarted", click "OK ". Click service to check whether the MSSQLServer service is enabled.
② Open the SQL Server Browser Service.
"Start"
Tags: mssql mysql link serverSystem environment:Microsoft Windows Server 2003 Enterprise Edition Service Pack 2[Microsoft Windows NT-5.2 (3790)]SQL Server Enterprise Edition 8.00.2066 (SP4)CentosMysqlDeployment steps:Linux Environment1. Create an account in MySQL and Access database permissions (including allowed acces
Configure the SQL Server database recovery mode (two methods), SQL Server
The following describes how to configure the SQL Server database recovery mode.
Set recovery mode with T-SQLYou can useAlter database"Add"Set recovery"State
How SQL SERVER 2000 obtains the current system time with SQL statements
is to use GETDATE ();
getdate in SQL ()
A very powerful date format function in SQL Server
Select CONVERT (varchar), GETDATE (), 0): 2008 10:57am Sele
Document directory
Windows SQL Server Security Check List
Windows SQL Server Security Check List
1. confirm that the latest patches for NT/2000 and SQL server have been installed. Needless to say, you should have installed them
server|sqlserver| Error | data | database
Unable to open the user default database , logon failed, which is one of the problems that SQL Server users are familiar with. When using Enterprise Manager, Query Analyzer, various kinds of tools and application software, as long as the connection to the SQL
Label:Original: CLR programming in SQL Server-writing stored procedures and functions for SQL Server with. NetIt has long been known that you can write stored procedures, triggers, and stored procedures with . NET for SQL Server2005 and above, but the system that was develop
Tags: style blog http color io os using AR forAnatomy of SQL Server article 11th automated testing of multiple versions of SQL Server (translated)http://improve.dk/automated-testing-of-orcamdf-against-multiple-sql-server-versions/
SQL Server trigger and SQL Server trigger
Brief Introduction:
A trigger is a special stored procedure, which is automatically executed only when a specific event occurs. Stored Procedures and triggers are a collection of SQL statements and flow control statements. stored pro
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.