SQL Server DBA thirty questions

Many developers want to be a DBA, and many people first position themselves as a DBA. What knowledge and skills do DBAs need to master? Below are my During DBA work and interviews with DBAs, there were thirty questions about DBAs. Among the thirty

System database of SQL Server 2000

System database of SQL Server 2000 After the SQL Server 2000 Server is installed, four system databases are created. They are master, model, MSDB, and tempdb.1. master databaseThe master database is the most important database in SQL Server 2000.

Turn: Brief introduction to the evolution of paging stored procedures based on SQL Server

Author: Zheng Zuo Date: 2006-9-30 Paging of database data on the UI is a common problem. It is easy to find various "General Stored Procedures" on the Internet"CodeIn addition, some custom query conditions make it easy to use. I plan to use this

The date format conversion method that may be frequently used in SQL Server

Select convert (varchar (100), getdate (), 0): 05 16 2006 AMSelect convert (varchar (100), getdate (), 1): 05/16/06Select convert (varchar (100), getdate (), 2): 06.05.16Select convert (varchar (100), getdate (), 3): 16/05/06Select convert (varchar (

Create and delete a linked server in the SQL Server database

/***** Object: linkedserver [202.99.213.226] script Date: 06/26/2007 21:34:35 ******/Exec master. DBO. sp_addmediaserver @ Server = n'nfdrp', @ srvproduct = n' SQL Server'/* For security reasons the linked Server Remote logins password is changed ###

SQL Server Installation suspension solution

About: Previous ProgramInstall a file that has been suspended on the computer before installing SQL Server, and then delete it. Now, "a previously installed program has created a suspended file on the installation computer. You must restart the

SQL Server Query Method for the last day, three days, one week, January, and First Quarter

One day Select * From t_news where datediff (day, addtime, getdate () = 0 Three days Select * From t_news where datediff (day, addtime, getdate () = 0 One week Select * From t_news where (datepart (wk, addtime) = datepart (wk, getdate () and

SQL Server Series: stored procedures

The main purpose of customer/server development is to process dataProgramMove to the nearest possible place to the data. By moving data processing programs from customer applications to servers, you can reduce network traffic and improve performance

SQL Server datetime formats

the list of styles that can be applied are: SQL style id SQL style example 0 or 100 Mon dd yyyy hh: miam (or pm) Jan 15 2008 pm 101 Mm/DD/yy 01/15/2008 102 YY. Mm. dd

How to determine the version number of the running SQL Server [reprint]

Reproduced from: http://www.cnhonker.com/bbs/simple/index.php? T1440.html How to determine the version of SQL Server 2005 running To determine the version of the running SQL Server 2005, use SQL Server Management studio to connect to SQL Server 2

Difference between datediff in access and SQL Server

Syntax Datediff (interval, date1, date2[, Firstdayofweek] [, Firstweekofyear])   The difference is whether interval should be enclosed in quotation marks; Access: datediff ('n', lastactivetime, '"+ datetime. Now +"')> = 10 SQL

SQL Server Profiler: usage and metrics

Introduction   SQL Server ProfilerSQL Server event Exploration, An SQL monitoring tool that can be specific to each line of SQL statements, each operation, and each connection. I feel that this tool is still very useful. I would like to

Add automatic numbers to SQL Server query results

This is often the case. I need to add a column of numbers similar to identity in the query results. Although it is not difficult to implement it in client programming, sometimes I want to retain the existing class, if you do not want to perform

Function used to split strings in SQL Server

Create   Function Split ( @ Str_in Varchar ( 8000 ), @ Separator   Varchar ( 4 )) Returns   @ Strtable   Table (Strval Varchar ( 8000 )) As Begin Declare @ Occurrences Int, @ Counter Int, @

Microsoft releases SQL Server 2000 Reporting Services Service Pack 1

Major function enhancements The Excel rendering extension has been improved. You can now view the extension in an earlier version of Excel. PDF rendering extensions are more robust and provide better performance. The chart control can better

SQL Server defines full-text index

Sp_fulltext_catalog 'doc ', 'create', 'f: \ Temp' -- Create full-text reference on the ab01 table Sp_fulltext_table 'doc _ archivesresource', 'create', 'Doc', 'pk _ doc_archivesresource' -- Add the column za0101 to the ab01 table as the index

SQL Server System Table analysis (1)-Backup table

1. backupfile Each record in the table corresponds to a backup of data files or log files in the database. The fields in the table describe the attributes of the files during Backup. In general, it is a detailed table of backup files. Main

SQL Server rownumber and table variable paging performance optimization Subtotal

Directly letCodeNow, let's take a look at the comparison. Of course, this situation is suitable for extracting a large number of fields.   Poor performance: With # temp as (select column1, column2, column3, column4, column5, column6, column7,

How to import a TXT file to an SQL Server database table

Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> Create Table tablet (A nvarchar ( 100 ),B nvarchar ( 100 ),C nvarchar ( 100 ))Bulk insert codematic .. tablet from ' C: \

[Distinct] DBCC dbreindex reconstruction index improves SQL server performance

From:Http://blog.sina.com.cn/s/blog_4d4290b20100bg27.html Most SQL Server tables require indexes to speed up data access. If no indexes are available, SQL Server performs a table scan to read each record in the table to find the

Total Pages: 923 1 .... 893 894 895 896 897 .... 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.