One of the most popular request I have received on this blog is to create one page which list all the SQL Server FAQs. SQL Server technology is very broad as well very deep. This is my humble attempt to list few of the daily used details in one page. Let me know your opinion and suggestion.
SQL SERVER - Download FAQ Sheet - SQL Server in One Page
April 28, 2008 by pinaldave
Posted in Best Practices, DBA, Database, Pinal Dave, SQL, SQL Add-On, SQL Authority, SQL Constraint and Keys, SQL Documentation, SQL Download, SQL Function, SQL Index, SQL Joins, SQL Query, SQL Server, SQL Tips and Tricks, SQL Trigger, SQL Utility, Software Development, T SQL, Technology | 27 Comments
27 Responses to “SQL SERVER - Download FAQ Sheet - SQL Server in One Page”
Leave a Reply
-
About Pinal Dave
Pinalkumar Dave is Microsoft SQL Server MVP and author of over 800 SQL Server articles. He has six years experience as Principal Database Administrator in MS SQL Server 2008/2005, .NET (C#) and ColdFusion MX. He has a Masters of Science degree in Computer Networks, along with MCDBA, MCAD(.NET) and ColdFusion Advanced MX Certifications.
MVP Profile

-
Blog Stats
- 5,766,278 Readers
-
SQLAuthority Links

My Homepage
My Resume
My Other Blog
SQL Server Mag Articles
--------------------
SQLAuthority
Best Articles
Favorite Articles
SQL Script Bank
Top Downloads
--------------------
SQL Interview Q & A
SQL Coding Standards
SQL FAQ Download
--------------------
SQL Random Article
Search SQLAuthority
Subscribe Email Update
SQLAuthority Feed
Translate SQLAuthority
--------------------
Jobs @ SQLAuthority
Find Your IP
Categories
- About Me (41)
- Best Practices (48)
- Data Warehousing (26)
- Database (242)
- DBA (202)
- Main (67)
- MVP (38)
- Pinal Dave (546)
- Software Development (73)
- SQL (827)
- SQL Add-On (77)
- SQL Authority (827)
- SQL Backup and Restore (50)
- SQL Coding Standards (84)
- SQL Constraint and Keys (46)
- SQL Cursor (63)
- SQL Data Storage (19)
- SQL DateTime (35)
- SQL Documentation (293)
- SQL Download (430)
- SQL Error Messages (361)
- SQL Function (96)
- SQL Humor (21)
- SQL Index (68)
- SQL Interview Questions and Answers (63)
- SQL Joins (356)
- SQL Performance (414)
- SQL Puzzle (10)
- SQL Query (827)
- SQL Scripts (531)
- SQL Security (369)
- SQL Server (827)
- SQL Server DBCC (254)
- SQL Stored Procedure (133)
- SQL Tips and Tricks (827)
- SQL Trigger (40)
- SQL User Group (16)
- SQL Utility (62)
- SQLAuthority (17)
- SQLAuthority Author Visit (38)
- SQLAuthority Book Review (29)
- SQLAuthority News (170)
- SQLAuthority Website Review (18)
- T SQL (827)
- Technology (827)
-
Top Posts
- SQL SERVER - Insert Data From One Table to Another Table - INSERT INTO SELECT - SELECT INTO TABLE
- SQL SERVER - Insert Multiple Records Using One Insert Statement - Use of UNION ALL
- SQL SERVER - 2005 - Create Script to Copy Database Schema and All The Objects - Stored Procedure, Functions, Triggers, Tables, Views, Constraints and All Other Database Objects
- SQL SERVER - Import CSV File Into SQL Server Using Bulk Insert - Load Comma Delimited File Into SQL Server
- SQL SERVER - Convert Text to Numbers (Integer) - CAST and CONVERT
- SQL SERVER - Retrieve Current Date Time in SQL Server CURRENT_TIMESTAMP, GETDATE(), {fn NOW()}
- SQL Server Interview Questions and Answers Complete List Download
- SQL SERVER - Restore Database Backup using SQL Script (T-SQL)
- SQL SERVER - 2008 - Interview Questions and Answers Complete List Download
- SQL SERVER - 2005 List All Tables of Database
- SQL SERVER - Shrinking Truncate Log File - Log Full
- SQL SERVER - 2005 NorthWind Database or AdventureWorks Database - Samples Databases
-
Recent Posts
- SQL SERVER - Find Currently Running Query - T-SQL
- SQL SERVER - Interesting Observation - Using sqlcmd From SSMS Query Editor
- SQL SERVER - sqlcmd vs osql - Basic Comparison
- SQL SERVER - 2008 - Change Color of Status Bar of SSMS Query Editor
- SQL SERVER - Time Delay While Running T-SQL Query - WAITFOR Introduction
- SQL SERVER - 2008 - 2005 - Find Longest Running Query - TSQL
- SQLAuthority News - Happy New Year - 5 SQL New Year Resolutions
- SQLAuthority News - Recap Year 2008 - Two Most Important Event of My Life
- SQLAuthority Author Visit Report - Tech Meetings - Recession - Job Market - Consolidation of Servers - OS Choice - Server Reboots - Performance Optimization - Backup and Restore
- SQL SERVER - 2008 - Certification Path Complete Download PDF
- SQL SERVER - Fix : Msg 15151, Level 16, State 1, Line 3 Cannot drop the login ‘test’, because it does not exist or you do not have permission
- SQL SERVER - Add Any User to SysAdmin Role - Add Users to System Roles
- SQL SERVER - Fix : Error : Msg 15151, Level 16, State 1, Line 2 Cannot alter the login ’sa’, because it does not exist or you do not have permission
- SQLAuthority Author Visit - Valsad, Daman, Silvassa, Vapi - Tech Meetings
- SQLAuthority News - Merry Christmas - Search SQLAuthority
-
Recent Comments
- gkw on SQL SERVER - FIX : Error 15023: User already exists in current database.
- Anoob.K.A on Contact Me
- pushpa on SQL SERVER - Stored Procedure to display code (text) of Stored Procedure, Trigger, View or Object
- Sanjeev on SQL SERVER - Collate - Case Sensitive SQL Query Search
- bhavani on SQL SERVER - Change Collation of Database Column - T-SQL Script
- Rajpreeti on SQL SERVER - Find Table in Every Database of SQL Server
- suresh on SQL SERVER - Change Password of SA Login Using Management Studio
- supriya on SQL SERVER - Understanding new Index Type of SQL Server 2005 Included Column Index along with Clustered Index and Non-clustered Index
- ganesh on Contact Me
- bhavani on SQLAuthority News - Recap Year 2008 - Two Most Important Event of My Life
- Vaibhav on Contact Me
- Ram on SQL SERVER - Find Currently Running Query - T-SQL
- Nikhil on SQL SERVER - 2008 - 2005 - Find Longest Running Query - TSQL
- Cush on SQL SERVER - Query to find number Rows, Columns, ByteSize for each table in the current database - Find Biggest Table in Database
- Aldo on SQL SERVER - FIX : Error 15023: User already exists in current database.
Archives
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- May 2007
- April 2007
- March 2007
- February 2007
- January 2007
- December 2006
- November 2006
-
Pages
-
Latest Articles
-
pinaldave
- SQL SERVER - Find Currently Running Query - T-SQL
- SQL SERVER - Interesting Observation - Using sqlcmd From SSMS Query Editor
- SQL SERVER - sqlcmd vs osql - Basic Comparison
- SQL SERVER - 2008 - Change Color of Status Bar of SSMS Query Editor
- SQL SERVER - Time Delay While Running T-SQL Query - WAITFOR Introduction
- SQL SERVER - 2008 - 2005 - Find Longest Running Query - TSQL
- SQLAuthority News - Happy New Year - 5 SQL New Year Resolutions
- SQLAuthority News - Recap Year 2008 - Two Most Important Event of My Life
- SQLAuthority Author Visit Report - Tech Meetings - Recession - Job Market - Consolidation of Servers - OS Choice - Server Reboots - Performance Optimization - Backup and Restore
- SQL SERVER - 2008 - Certification Path Complete Download PDF
-
-
Click Cloud
About Me Best Practices Database Data Warehousing DBA Main MVP Pinal Dave Software Development SQL SQL Add-On SQL Authority SQLAuthority SQLAuthority Author Visit SQLAuthority Book Review SQLAuthority News SQLAuthority Website Review SQL Backup and Restore SQL Coding Standards SQL Constraint and Keys SQL Cursor SQL Data Storage SQL DateTime SQL Documentation SQL Download SQL Error Messages SQL Function SQL Humor SQL Index SQL Interview Questions and Answers SQL Joins SQL Performance SQL Puzzle SQL Query SQL Scripts SQL Security SQL Server SQL Server DBCC SQL Stored Procedure SQL Tips and Tricks SQL Trigger SQL User Group SQL Utility Technology T SQL






This is remakable work ! Really Appreciated.
Nice to go through it with one page before any exam or technical interview :)
Thanks a lot ! Enjoy :)
I tried to load a very large txt file(144GB) to database.
I received this error after first 2 hrs of load.
Step Error Source: Microsoft Data Transformation Services Flat File Rowset Provider Step Error Description:Error creating file mapping view: Not enough storage is available to process this command.
Step Error code: 80004005
Step Error Help File:DTSFFile.hlp
Step Error Help Context ID:0
We have HP EVA SAN.
Is this because I/O issues? How do we fixed this problem?
Thanks,
Kevin
In the constraints section the spelling of the Foreign key is wrong. Kindly correct the spelling.
Very cool cheat sheet. From the UPDATE statement, it looks like you can use DEFAULT as an actual value, as in :
UPDATE contact
SET date_created = DEFAULT
WHERE id = 1
Is that true?? Does it just use the default value of the field??
hi Ben Nadel
UPDATE contact
SET date_created = DEFAULT
WHERE id = 1
its true .
[...] If you want complete syntax for this four basic statement, please download FAQ (PDF) from SQL SERVER - Download FAQ Sheet - SQL Server in One Page [...]
Great sheet!
Hi Pinal,
Excellent work. Appreciated.
Regs
HEMAL
Hi,
i want to do certification in Sql server 2005 as an DBA.can you suggest any book for the same.
regards
Afzal
hai sir
Excellent work. Appreciated
Hai
Great Work
Keep it up
hi to all
the great work
by
M.Prabha
DJAME
Hi
It’s really wonderful
We can say it as Sql in a Page.
(for the reference)
[...] The article which discuss about SQL Server cheatsheet is SQL SERVER - Download FAQ Sheet - SQL Server in One Page. [...]
Hi,
How to open a database in sql2005,and how to work with that?
Very Good Work
Appreciated
Hi Pinal,
It’s a gr8 work and also I suggest you to include all the system tables,procedures and also system Information Views etc;
Regards,
Mahesh Chudamani
Is there any way to find nonalphanumeric characters in a column? I need to remove all nonalphanumeric characters from a column.
nice resource ! thank you~
Hi,
I have a problem with the report creation while exporting around 5000 records to an excel file from my asp.net application. Each time i am getting “Out of memory exception”.Please suggest what can i do with the my database so that i won’t get this error.I am using sql server 2005 database.
Hi good job.
I want to do MCDBA will u please sugest me a good book.
I am Production DBA.
Hi,
I’m Hari . can you Please send me the book Name which includes all about SQL server 2005. i like to do certification in mssql server 2005. Kindly help me.
Hi,
I am having a problem related to INSERT INTO on the following platform:
Microsoft SQL Server 2005 - 9.00.3068.00 (X64) Feb 26 2008 23:02:54 Copyright (c) 1988-2005 Microsoft Corporation Enterprise Edition (64-bit) on Windows NT 5.2 (Build 3790: Service Pack 2).
However, if I use the same query on different platform, shown below, it works fine:
Microsoft SQL Server 2005 - 9.00.3054.00 (Intel X86) Mar 23 2007 16:28:52 Copyright (c) 1988-2005 Microsoft Corporation Standard Edition on Windows NT 5.2 (Build 3790: Service Pack 2).
My Query:
1) Drop and Create table
2) add index to its columns:
CREATE UNIQUE NONCLUSTERED INDEX [idxGroup4AndInseminationDate] ON [dbo].[tblForInseminationContainingHUKAndNMRDataWithNoDuplicates]
(
[herdBookNumber] ASC,
[breedId] ASC,
[IDType] ASC,
[pedigreeStatus] ASC,
[inseminationServiceDate] ASC
)WITH (STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = ON, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
GO
3) Insert data
INSERT INTO [DBO].[tblForInseminationContainingHUKAndNMRDataWithNoDuplicates]
SELECT *
FROM dbo.tblTestForInsemination AS tblA
WHERE tblA.herdBookNumber = ‘E5854/00220′ AND
tblA.breedId = ‘1′ AND
tblA.IDType = ‘2′ AND
tblA.pedigreeStatus = ‘2′ AND
tblA.inseminationServiceDate = ‘2001-03-16 00:00:00.000′
ORDER BY ISNULL(tblA.authenticSire, ‘N’) DESC, tblA.PDResult DESC
In expected result the order by works fine on the second platform but not on the first one, please help.
Thanks
hello Sir,
is there any way to execute a query based on time.
for example: evey 1st day of a month at 11am i want to execute one query. without user intraction
is it possible?
looking from you.
Great job buddy..
good sir in sqL Server
Great Job