How does SQL Server clear the name history of the connected server?

Some may ask, How do I clear the list of Connected Server names in SQL Server? After the experiment, we found the solution:DeleteX: \ Documents and Settings \ XXX \ Application Data \ Microsoft SQL Server \ 100 \ tools \ shell \ sqlstudio.

Switch: SQL server data paging storage process

  Normally SQL When the number of data items in a query statement is small, the speed will be slower, because it takes a lot of time to transmit a large amount of data over the network. If you query data by PAGE, only useful data is returned.

SQL Server Distributed Query essay (sp_addmediaserver) and remote login ing (sp_addmediasrvlogin) use small summary)

RelatedArticleNavigation SQL server2005 Transact-SQL new weapon learning Summary-Summary Index of flex and fms3 articles Flexair open-source edition-global free multi-person video chat room, free network remote multi-person Video

SQL Server prompts "transactions cannot be started in streamline mode" SOLUTION

Event: I encountered a very strange problem: I opened a table in a database in the sqlserver Enterprise Manager, modified the record, and shut down the table, and the prompt "transactions cannot be started in streamline mode" is displayed ", data

Modify the logical file name in the SQL Server database

You can use the file_name function to return the logical File Name of the specified file ID. As follows: In the following example, the file name (master database file) with file_id 1 is returned ). Use Master Select   File_name ( 1

About. NET 2.0 connecting to lan SQL Server 2000

The database was supposed to be completed this evening, but it was found that there was an error connecting other computers in the LAN with vs2005. At the beginning, the response may be a firewall problem, the firewall is shut down. Later, I spent a

Obtain various attributes of SQL Server table fields

-- SQL Server 200 Select a. Name as field name, case when exists(Select 1From sysobjectsWhere xtype = 'pk' and parent_obj = A. ID and name in(Select nameFrom sysindexesWhere indid in(Select indidFrom sysindexkeysWhere id = A. ID and colid = A.

How to obtain field descriptions from SQL Server

SQL Server 2000 You can add field descriptions in the Enterprise Manager, or use the followingCode: Exec Sp_addextendedproperty ' Ms_description ' , ' Some description ' , ' User ' ,DBO, ' Table ' ,Table_name, '

SQL Server String splitting (split) method summary

-- Method 0: dynamic SQLDeclare @ s varchar (100), @ SQL varchar (1000)Set @ s = '1, 2, 3, 4, 5, 6, 7, 8, 9, 10'Set @ SQL = 'select Col = ''' + Replace (@ s, ',', ''' Union all select ''') + ''''Print @ SQLExec (@ SQL)   If exists (select * From

Data synchronization between SQL server servers 1

Before setting and using database replication in SQL Server 2000, check whether the following SQL Server servers meet the requirements: 1. Does the MSSQLserver and Sqlserveragent services start and run as domain users (. \ administrator users can

Number of records of each table in SQL server 2000

USE pubsGODECLARE @ name varchar (40)DECLARE @ SQL VARCHAR (4000)DECLARE authors_cursor CURSORSELECT Name as table Name FROM SYSOBJECTSWhere xtype = 'U' OPEN authors_cursor Fetch next from authors_cursorINTO @ NAMESET @ SQL = 'select' + @ NAME + ''

SQL Server ldf lost database recovery

If the ldf file of the database is lost or damaged, the Database loading fails. Check SQL Server Management> SQL Server Logs to see that ldf loading fails.   1. view the database status Select * from sys. databases The state_desc of the

SQL Server compatibility mode

Recently, an old system switched to SQL Server 2005 database and changed from 2000 to 2005. By default, an error occurs during startup: Incorrect syntax near 'index'. If this is intended as a part of a table hint, a with keyword and parenthesis are

Stored Procedure for SQL Server

The Real-time Data Validity determination rule of INSQL requires a flexible definition. I use the standard SQL expression to define the rule in the string mode, and parse and output the result through the stored procedure to determine the result.

Save the text in RichTextBox to SQL Server

Save: private void btnSave_Click (object sender, System. EventArgs e) { FileStream stream = null; SqlConnection conn = null; SqlCommand cmd = null; Try { RichTextBox1.SaveFile ("temp. rtf "); Stream = new FileStream ("temp. rtf", FileMode. Open,

Optimization of ms SQL Server Query

(1) ● There are many reasons for slow query speed. The following are common causes: 1. No index or no index is used (this is the most common problem of slow query and is a defect in programming)2. Low I/O throughput, resulting in a bottleneck effect.

Differences between SQL server and mysql in the implementation of select clauses in group

When I read an article about SQL puzzles-36: dual responsibility, I downloaded the second version of SQL puzzles. By default, the group by processing between SQL server and mysql is different. In SQL server, the field in the select list is either a

. Net + SQL Server Enterprise Application Performance Optimization notes 3--SQL query statements

In the previous article, we used several methods to identify the bottleneck and find the bottleneck. Next, let's review it: LoadRunner stress test + Windows counter. This method is mainly used to find out which server has the approximate

Two more commonly used SQL statements related to SQL Server Fields

Two more commonly used SQL statements related to SQL Server fields -- downmoon: 1. Fields in all user tables can be listed: -- List all user table fields Select syscolumns. name colname, sysobjects. name tabname ,* From sysobjects, syscolumns

Page-based discussion of SQL Server Reporting Service

Previously, when using Reporting Service, we did not know its specific paging rules. I only know that when I think that each page of a report is too long, I want to extend the report body so that the report can display more data on each page. Of

Total Pages: 923 1 .... 712 713 714 715 716 .... 923 Go to: GO

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.