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
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.
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
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
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
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
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
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
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
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
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
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
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
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
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,
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
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