The most common types of operations for SQL Server databases are the following five:
1. Non-connected query, get DataTable.
2. Connect query, get DataReader.
3. The query results are only 1 rows and 1 columns, obtaining a single data.
4. The
Primary keya database primary key is a combination of one column or column in a table whose value uniquely identifies each row in the table. Such a column or columns is called the table's primary key, which enforces the entity integrity of the table.
Many architectures in the enterprise are moving towards service concept, as far as possible to use the Platform service mode for each application. As a result, the system will call the Web SERVICE,WCF or OData ... And many other types of services.
debugging directly in the databasedebugging directly in the database is the simplest way to debug a stored procedure in SQL Server 2005. In the visual Stuido IDE, you can choose to step into a stored procedure, and then you can step through a single
SQL Server 2005 COM + catalog requirements warning①. Start Distributed Transaction Coordinator serviceOpen the service, find the Distributed Transaction Coordinator service in the service, select "Properties";In the "Login" tab, select "This account"
First, the principles and components of SQL Server e-mail introduction:Database Mail has 4 components: A configuration file, a mail processing component, an executable file, and a "logging and auditing component."L Configuration components include:1)
Original: SQL Server 2008 Database Recovery of data deleted by mistakeOriginal: http://www.cnblogs.com/dudu/archive/2011/10/15/sql_server_recover_deleted_records.htmlRecovering from accidental deletion of data in SQL Server is not a difficult task
Looking at the blog of the Big V in the garden, I found that the text was a description of the problem as described in the title.The specific question describes my explanation through the blog of the Hermit:Note: If the above interception is
Naming conventionsTableTable names such as order/useraccoutComplies with the following specifications:1. Uniform use of singular form, against Orders2. Capitalize the first letter, multiple words, capitalize the first letter of the word, oppose
SQL Server error log (AG)The SQL Server error log records the time that affects AG, such as:1. Interacting with Windows failover clusters2. Status of available replicas3. Status of available dataStatus of the 4.AG endpointStatus of the 5.AG
★ Welcome to The Guardian God · V Classroom, website address: http://v.huweishen.com★ Guardian God · V Classroom is a Web site dedicated to providing server instructional video for the Guardian God, updated weekly video.★ This section we will lead
A case was encountered today: The following error message appears when you right-click a property of a database:Property owner is not available for database XXX, the object may not have this property, or it may be insufficient access to retrieve.The
------------------------Inserting Data-------------------------80.1. Insert a full line--Each column must be populated in the order in which they appear in the table definitionINSERT into customersVALUES (' Pep E. Lapew ', ' Main Street ', ' LOS
I'm going to put my actual test results first.ProblemI have a SQL Server instance, which has hundreds of databases. Navigating the database tree in SSMS is a pain and I were wondering if there was a by-a-to-limit the list of databases that I See in
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"Statement to modify the
SQL Server queries table indexes and SQL Server Indexes
SELECT index name = a. name
, Table name = c. name
, Index field name = d. name
, Index field location = d. colid
FROM sysindexes a JOIN sysindexkeys B ON. id = B. id AND. indid = B. indid JOIN
SQL Server performance optimization skills, SQL Server Performance Optimization
1. Select the most efficient table name sequence (only valid in the rule-based Optimizer)
The SQL Server parser processes the table names in the FROM clause in the order
SQL Server uses Trigger to monitor the stored procedure change script instance, trigger Stored Procedure
The following triggers are used to monitor changes to stored procedures. Create a monitoring table:
Create table AuditStoredProcedures
1. Set SQL scripts to be case insensitiveUSE [master]GOAlter database [DatabaseName] COLLATE Chinese_PRC_CI_AIGO2. Set high SQL script case sensitivityUSE [master]GOAlter database [DatabaseName] COLLATE Chinese_PRC_CS_AIGO3. Set reference value_
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.