Very frequently I have been asked to create a page, post or article where in one page all the important concepts of SQL Server are covered. SQL Server 2008 is very large subject and can not be even covered 1000 of pages. In daily life of DBA there are few commands very frequently used and for novice developers it is good to keep all the important SQL Script and SQL Statements handy.
I have attempted to create cheat sheet for SQL Server 2008 most important commands. User can print this in one A4 size page and keep along with them. This can be used in interviews where T-SQL scripts are being asked.
Let me know your opinion and if you find this useful.
Download SQL Server 2008 Cheat Sheet
Reference : Pinal Dave (
http://blog.SQLAuthority.com
)
Hi pinaldave,
I found this cheat sheet is very useful for me.
wonderful idea… :)
regards
Vasanth
the cheat sheet is very useful.thanks
this is nis
I can’t download the cheatsheet, my browser is grinding for a long time with no file download. Please help.
Srikanth,
I did not find any problems. Please try again.
Regards,
Pinal
Sorry my bad. It worked today :) I downloaded the cheat sheet.
Thanks the cheat sheet is really useful. You have done a wonderful job.
Good print out to have near me on my desk, thanks!
Very usefull – thanks!
Hello Sir,
The information there on this blog is very useful & helpful thanks for providing such informative infromation.
Sir i have a query in ms-sql server2000
can we convert numeric(18,0) to identity(1,1) which will be primary key ,
since this ID numeric(18,0) is a foreign key in another table so i wanted that this key should be as primary auto incrementing key
whereas i am also unable to do insert into statement for the same
error ocuuring is as : Cannot insert explicit value for identity column in table
Can you please help me out.
Thanks for Sheet , Great Idea …. Really Use ful .. Thanks a Lot …
Clear, infomartvie, simple. Could I send you some e-hugs?
nice
Ya… Its a Good One..
Kishor K
MCTS
-Kerala
I am unable to download the Cheat Sheet.
Can you assist me to download the file. it give me error on my browser.
Thanks
Sudarshan
This sheet really nice and very usefull for all levels.
Thanks
Veerendra
This Cheat Sheet is very good and usefull for Beginners
HI pinaldave,
Really its usefull….I found most of the things , This is more than enough for glance
hi, i would like to ask a question,
do you know how to get month from a query?
if i want to get a date, i use
select birthday
from user
where…
what if i want to get a query where the birthday month is May for example?
where datename(month,birthday)='may'
HI Dave sir,
I m new to sql server .. can u please provide me some links where i can find out how sql server is used on application point of view. How we stored procedures are useful in practical scenerio..
provide me some good links for clearing basic concepts
Thanks soo much for your help.
regards
Harpreet
Hi,
Can anybody tell me the difference between server studio and server studio express?
Dont mind if this is silly qtn. m new to sql server.
thanks munch in advance.
Hello Sir,
i have a query on Sql server 2000. Can we Restore selective databases from Tape Drive(BrightStor ARCserve Backup Tape Drive) having tape of Ultrium(800 GB) to a remote server’s folder location through Query analyser. Because it is showing error in restoring that database to that remote server from that Tape Drive due to Space issue. So i want to directly restore that database from query analyser without coping it to that location and then from there to restore.
regards
manoj kumar
Hi Pinal,
wishing u a very happy Diwali.
May I know as a fresher how to start reading your blog. I find all your blogs are very helpful, but for a fresher, its hard to find where to start.
So suggest me any point from where I can start reading it.
thanks & Regards
Vikrant Bam
Hi Pinal dave,
Thanks ,Really helpful
super sheet very helpful for me…………..thank u thank u
Thanks for this :D it’s very useful!
Thank you very much to you and SQL authority, a great resource for a leaner!
Hi Pinal Dave,
Is there a query to check from the SQL log to see who got access to the DB and what was the Query executed by that user ?
Also if the DB is hacked how to check the logs to see what was the attempt made to get into the database.
One way is to run a profiler
Hai, Thanx Buddy ..
This is a very usful sheet of paper, Just enlarged in A3 and been pasted on th wall opp my desk.
Hi
Thank you and SQL authority so much, a great resource for a beginner!
its helping me more to walk in interview
thanks for such a ……
like qustions and some important definition of sql concepts
Very nice article.
Awesome. This blog is really one of the best SQL blogs on the web. keep blogging!
very useful commands
Thank yo so much.
I’ve been looking for these…
Hi everybody! Someone could help me about UDF calls over linked servers or if it’s possible to create a synonym for a scalar UDF in a linked server (I’m trying this from denali and a sql 2008 but no way…)?
Thanks in advance!
Alberto
hi sir
this cheat is very useful for us.. i am very thankful for you if you give a good answer for this qus >
what is the main different of sql, my sql, sql 2000, sql 2005, sql2008,
?
and
what is the magic tables?
still i am waiting for your kind revert..
hi
this very good site for sql server programmers …..!!
what is fullouter join in JOINS Concepts..?
hi pinal,
thanx a lot for pdf and this helpful website.
really nice………..thanx man
whats up Am trying to download but when I open it tells me internal error occured…………?
It should work correctly. Try it with different browser
Dear Dave,
I am managing an OLTP server. Sometimes my replication become down due to unknown reason. Is there is any way to find which cause replication failure?
another problem is to we had connected six web server towards our database server.Sometimes the net work traffic is very high between some of these web server and DB server.
so far i being understand that its problem in the application side.how we can exactly identify which query raises N/W traffic.
can anybody know how to download it its showing error viewer cannot decript
this is great work by u …. thank u sir … i m really thankfull to u ..
hi I’m not able to find cheatsheet. can you send me on [email removed]
sir, i m installed sql express with advanace service 2008 . but in last installation progress facing in errorTITLE: Microsoft SQL Server 2008 Setup
——————————
The following error has occurred:
The service did not start due to a logon failure.
For help, click: http://go.microsoft.com/fwlink?LinkID=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=10.0.1600.22&EvtType=0xB4A84AA1%25400x5D9A8C61
——————————
BUTTONS:
OK
——————————
so pl help me . how can i sucseed sql .
With Regards
Sunil
I am not able to download Can some email to me [email removed]
REgards, SAchi
I am not able to download,Can some one mail me the same.
i could not find anything can you please help me with the download ..
samething happened with Q and A section
thank you
Hi,
This is a very good idea and very helpful.
Is there anything similar for DBA concepts.
Hi,
This is very good idea.Thankyou
Thanks for this Cheat Sheet. Its very useful for me.
For all those struggling to download these pdf docs, try using a different browser other that IE. I had issues so switched to Chrome.
All’s well that end’s well..
Thanks ……..its like a medicine for me
ITS ALSO HELPED ME FOR PROJECT VIVA THANKS THE TEAM OF SQL AUTHORITY.