Protocol used by SQL Server: Named Pipe (Named Pipe)

Recently I have followed some network protocols used by SQL Server, such as named pipe: Named Pipe (Named Pipe) is a protocol used for LAN. Under this protocol, a part of the computer's memory is used by a process to transmit information to another

Dynamic execution of SQL statements in SQL Server (from: http://hi.baidu.com/senty/blog/item/5d6d36d3dc89a5073bf3cf3e.html)

RecommendedSp_executesqlInstead of using the execute statement to execute a string. Support Parameter replacement not onlySp_executesql More common than execute, and also makeSp_executesqlIt is more effective because the execution plan generated by

Connect VC ++ to the SQL Server database (Remote + local)

Connect to the remote database sqlserver2005Cstring strconn =_ T ("driver = {SQL Server}; server = 192.168.57.49, 1433; database = data name; uid = user name; Pwd = password "); (Driver = {SQL native client} is a string connecting to the local

SQL Server Stored Procedure for importing Excel Data

I. The code for creating a stored procedure is as follows: -- Create stored procedure set quoted_identifier ongoset ansi_nulls ongocreate procedure folder @ err1 intset @ err1 = 0 set nocount on -- SET transaction isolation level

Instance operations teach you how to use SQL Server Stored Procedures (1)

First, we will introduce what a stored procedure is: a stored procedure stores common or complex tasks with a specified name by writing SQL statements in advance, in addition, when such statements are stored in the database and different SQL

Use the full-text search function of Microsoft SQL Server 2000 to build a web search application

Introduction The full-text search function of Microsoft SQL Server 2000 allows you to quickly and flexibly query indexes generated on unstructured text data. A common full-text search tool is the search engine of a website. To help readers

Improve SQL server data processing efficiency using Indexes

Improve SQL server data processing efficiency using Indexes Based on a good database design, using indexes effectively is the foundation for SQL Server to achieve high performance. SQL server uses a cost-based optimization model, which queries

Ms SQL Server 2000 administrator manual series-33. Restore and reply to databases

33. Restore and reply to the databaseRestoration MethodExecute database RestorationPlan serious damaged responsesSummaryIn Chapter 32nd, we learned the importance of system backup and how to perform backup. This chapter continues the description of

Troubleshooting of common SQL server connection errors

The four most common errors in SQL Server connection:1. "SQL server does not exist or access is denied"This is the most complex. There are many causes of errors and there are many aspects to check.Generally, there are several possibilities:1.

SQL Server 2000 installation failed error 193 1060

Problem description ============ SQL Server 2000 installation failed Troubleshooting ============ The following error message exists in sqlstp. log: ================ 17:02:11 end action: updatesystempath 17:02:12 C:/program files/Microsoft SQL

Post (how to monitor SQL Server deadlocks)

Someone asked me how to capture and record the deadlock information on the Forum. Here, I will share some of my experiences with you, and I would like to ask you to correct them. We know that we can use the profiler tool provided by SQL Server to

Description of the xtype field value in the sysobjects table of the SQL Server database

We often want to query the index, constraints, relevance, and trigger attributes of a table. We need to know the meaning of the fields in the table "sysobjects", so no matter what we need to query, there is no problem! Sysobjects: each database in

SQL Server database shrinking

  SQL code 1. Using backup log database with no_log to clear logs and changing the fault recovery model in database properties to "simple" can greatly slow down log growth. If you adjust the Restoration Model to a simple one, it does not

Use local SQL Server to import EXCEL to remote SQL Server

-- Import EXCEL to remote SQL server through local SQL Server -- 1. Directly import the remote databaseInsertOpenDataSource ('Sqlodb ','Data source = shipmisserver/sqlserver2005; user id = sa; Password = sa123 $').

[SQL Server] data operations between databases on different servers

Data operations between databases on different servers -- Create a linked serverExec sp_addrole server 'itsv', '', 'sqloledb', 'remote server name or IP address'Exec sp_add1_srvlogin 'itsv', 'false', null, 'username', 'Password' -- Query

SQL Server cursor, stored procedure, and data block execution

The data block cursor example is as follows: Begindeclare @ item_code varchar (32) -- defines the variable declare @ item_name varchar (32) Declare @ invest_money_sum float -- defines the cursor declare my_cursor cursor forselect item_code,

Five Ways to Improve SQL server performance

Sometimes, in order to make the application run faster, all the work is to make small adjustments here or there. Ah, but the key is to determine how to adjust it! Sooner or later, you will encounter this situation: the SQL query in the application

Connection between Labview and SQL Server

Abstract: This article introduces the connection method between Labview and SQL Server. Keywords: LabVIEW, SQL Server, connection. Body: databases are generally used when LabVIEW is used for data collection and analysis. When the data volume is

Experience in connecting to SQL Server 2000 using JDBC in Java

The JDBC basics chapter in Java over the past few days describes how to use the JDBC-ODBC bridge to connect JBuilder to the sqlserver database. There is basically no problem, however, many people asked how to use the SQL Server Driver to perform

How to create an SQL Server database email

Use MSDBGo Declare @ profilename varchar (255)Declare @ accountname varchar (255)Declare @ smtpaddress varchar (255)Declare @ emailaddress varchar (128)Declare @ displayuser varchar (128) Set @ profilename = 'dbmailprofile ';Set @ accountname =

Total Pages: 923 1 .... 349 350 351 352 353 .... 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.