SQL Server's system table sysobjects

All information about the SQL Server database is stored in its system table. I wonder if you've spent more time checking system forms because you're always busy with user forms. However, you may need to do something unusual occasionally, such as all

How to "lose weight" on tempdb in SQL Server

SQL Server automatically creates a database named tempdb for use as a workspace, when you create a temporary table in a stored procedure, such as (Create TABLE #MyTemp), regardless of which database you are using, The SQL database engine will create

Using SQL Server database snapshots to form reports

Another powerful new feature of SQL Server 2005 is database snapshots. A database snapshot is a read-only copy of a database that is a map of all data in a database, and determines its content by the point at which the snapshot is executed. These

Backing up the restore SQL Server database in asp.net

In the Web, security is mainly embodied in two aspects: one is the program security, that is, to prevent the Web page in the insertion of malicious code, the other is database security, which we can often back up the database to achieve. In the

Examples of use of loops and conditional statements in SQL Server

--╔════════╗--===============================║if Statement Use example ║-- ╚════════╝declare @a int set @a=12 if @a>100 Begin print @a end ELSE begin print ' No ' end--╔══════════╗--========== The ==========

SQL Server Myth: Error about fill factor

Mistaken idea #25: Several mistaken ideas about filling factor It's all wrong. 25a) filling factor is always present. No, through Books Online you can see (translator: I did not find this phrase in the new version of BOL): Important: The fill

Introduction to NUMA schemas in SQL Server

SQL Server Data tools–business Intelligence for Visual Studio 2012 installation Prompts "The CPU architecture ..." solution For now, the rapid increase in CPU frequency and the rapid growth of the number of CPUs have not been able to promote the

How SQL SERVER Print Statements Wrap

To wrap the print statement inside the output, you can do this /* SQL newline tab char (9) newline character char (a) return char (+)/ print ' Test ' +char + ' Name ' print ' Test ' +char + ' age ' PRINT ' Test ' +char (9) + ' Tel '

How to manually grow log files and data files in SQL Server

Manually grow the log file, which is actually modifying the size of the log file in megabytes The log file size below is set to 2048MB ALTERDATABASE[GPOSDB] MODIFY FILE (name=gposdb_log,size=2048) EXEC sys. [sp_helpdb] @dbname =

SQL Server server disk test: Sqlio

Part of the database tuning effort involves troubleshooting IO issues, such as the speed of IO or the inability of RAID levels to respond to fast requests under high concurrency. The most common is to see the disk's response speed per read and write,

Talking about stored procedures and triggers for SQL Server

A. Stored procedures 1. Classification of stored procedures A stored procedure is a database object that is stored in a database and can be executed by an application through one call, and Allows users to declare variables, perform conditionally,

Access both SQL Server and Sybase databases

For a system administrator, to manage multiple database servers in a network at the same time or multiple database servers that are divided into different networks in the Internet, the problem of accessing these database servers at the same time is

Getting Started with the execution engine in SQL Server

Brief introduction When the query optimizer (queries Optimizer) parses a T-SQL statement and selects the least-consumption execution plan from the execution plan, the specific execution is performed by the execution engine (Execution Engine). This

How SQL Server analyzes SQL performance by executing the plan

How do you know how efficient an SQL statement is, knowing only 3 of the following: 1. Analysis of disk activity (IO) information through SQL statement execution:set STATISTICS io on (open)/ set STATISTICS iooff (closed) 2. Time spent parsing,

Use of nested subqueries for SQL Server databases

Many SQL Server programmers are confused about the use of subqueries (subqueries), especially for nested subqueries (that is, a subquery that contains a subquery). Now, let's look at this question in the right way. There are two types of seed

Recovery Interval in SQL Server

In fact, a lot of friends have asked recovery Interval, have asked this is why, have asked how to adjust this value, so write a small blog today, once and for all. As we all know, SQL Server relies on log to ensure performance and data persistence

SQL Server alternative notation for like statements

It is well known to mention like statements, for example, to find all users with "C" in their username, we can use the MyDatabase select * FROM table1 where username '%c% ' Here's another way to write the above function:use mydatabase select * from

Cross-Library synchronization through SQL SERVER triggers

Two servers with two SQL Server A, B A,B table Structure A,b the same A,b will do some insert,update,delete operation, require the data of AB to keep consistent (That is, a new data, request B also add, a change a piece of data, B also change the

Detailed SQL Server database index

I. Understanding the structure of an index The role of an index in a database is similar to the role of a directory in a book to improve the speed of finding information. Use the index to find the data, without having to scan the entire table to

Output clauses in a SQL Server 2005 database

The OUTPUT clause in SQL Server 2005 allows you to return data to a table variable from the Modify statement (INSERT, UPDATE, delete). Useful scenarios for DML with results include cleanup and archiving, message processing applications, and other

Total Pages: 923 1 .... 854 855 856 857 858 .... 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.