Are your SQL server log growth parameters set correctly?

We all know that SQL server log files are used to record transaction logs. However, the SQL Server database engine divides each physical log file into multiple virtual log files for management. In addition, the number of backlogs affects the

In SQL Server, how can I quickly find DBCC commands and syntaxes?

DBCC commands are very easy to use, but there are a lot of syntax for commands. How can we quickly remember them? Whether or not all data needs to be backed up. Actually, you don't need to. You only need to know the role of each command and remember

How to create statistics on SQL Server

A few days ago, I saw someone asking why I couldn't see SQL server statistics on a table. This table is a newly created heap table with no indexes and has never been accessed. To answer this question, we need to go back to how SQL Server creates and

SQL Server 2000 stored procedures, checking the syntax is an interesting phenomenon.

A table named TQ has the following structure:Tq1, varcharTq2, varcharIn the Enterprise Manager, create a stored procedure:Create procedure inserttqAsInsert into TQ(Tq1, tq2, tq3)Values('A', 'B', 'C ')GoThere are no errors in the syntax of Several

New Mail sending methods in SQL Server

This is a new method. It is actually a technology that has been used for a long time! In. net, you know that you can use system. Web. Mail to send emails. Verification is supported in Framework 1.1. Private void page_load (Object sender, system.

SQL Server trigger to insert data into a table

The table user1 contains the field ID, username, email, and address. The delta2_user1 table contains the field ID, username, email, address, and status. When table user1 inserts a record, a record is also inserted in delta2_user1, and 'insert' is

SQL Server imports an array to the stored procedure

Suppose I have an array: A (1) = 111, A (2) = 222, A (3) = 333 ......W I want to pass the array into the stored procedure, but sqlserver does not support arrays. Search for Baidu and find a strong method:1. First convert the array into a string

SQL Server System Table

Sysaltfiles: files stored in the database in the master database Syscharsets primary database character set and sorting order Sysconfigures master database configuration options Current configuration options of the syscurconfigs master database

SQL Server DBA thirty questions

Many developers want to be a database administrator, and many people first position themselves as a DBA. What knowledge and skills do DBAs need to master? The following are some of the thirty questions I have asked about DBAs during my DBA job and

The following example demonstrates how Java application connects to SQL Server 2000 through JNDI

It is worth noting that you must set it in classpath.Commons-dbcp-1.2.2.jar; commons-pool-1.4.jar; naming-common.jar the path to a fileThese three files can be downloaded directly from the Apache website. If Tomcat is installedYou can also

Usage of SQL Server Hash Functions and precautions

Hash is used in many system designs, including OS and SQL Server, to greatly improve the system performance. In fact, we can also use the hash function of SQL Server to achieve the same effect. For example, you can create a hash index for text with

View SQL server log Part 2

In Part1, we mentioned that you can use fn_dblog to view active logs. However, if the logs are backed up, can we still view them? The answer is yes. Use fn_dump_dblog.   Below is my own test: 1. -- insert data to table Insert into

SQL Server wildcard

In some cases, familiarity with the use of SQL Server wildcard can help us solve many problems.   -- Use the _ operator to search for the names of the three letters ending with an in the person table Useadventureworks2012; Go Select firstname,

Does the SQL Server Computing column occupy space?

I have a question on the internet today: Does the SQL Server Computing column occupy space? In fact, you can find out the result by checking the msdn or Bol. When creating a calculated column, you can specify persisted as a parameter. You can use

SQL Server Always On Listener Configuration and Function

In sqlserver 2012 always on, we can create an availability group listener to provide client connections to the database of the given availability group. The availability group listener is a virtual network name (vnn) that the client can connect to

View SQL server log Part 1

A friend once asked me if my data was deleted and when it happened without using a third-party tool. SQL Server provides an uninitialized ented function fn_dblog, which allows us to view the active transaction log. Syntax: : Fn_dblog (@ startinglsn,

SQL Server Profiler template description

SQL Server Profiler templates http://msdn.microsoft.com/zh-cn/library/ms190176.aspx You can use SQL Server Profiler to create a template and define the event classes and data columns to be included in the trail. After defining and saving the

T-SQL functions for SQL Server developers interview questions

The SQL Server developer T-SQL functions interview questions Written by: Jeremy kadlec From: Http://www.mssqltips.com/tip.asp? Tip = 1588 ProblemIn the latest installment of the mssqltipsInterview question series we are going to cover questions on T-

SQL Server Update lock)

Updlock The update lock is used when reading the table, instead of the shared lock, and the lock is kept until the statement or transaction ends. Updlock allows you to read data (without blocking other transactions) and update data later. It also

Analyze the SQL Server promotion problem of access database

In the software development process, we often encounter database promotion problems for many reasons, such as acsess access speed ratio.SQLServer slow, after deleting data recordsAccessWill leave a blank file, the file is getting bigger and bigger

Total Pages: 923 1 .... 903 904 905 906 907 .... 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.