Showing posts with label SQL Tips. Show all posts
Showing posts with label SQL Tips. Show all posts

Thursday, October 8, 2009

Copy date with Heading from Query analyzer

-- To copy the data from the results returned from the query analyser

In the sql server managment studio --- click Query --- Query options ---- Under Results ---click Grid --- check the box under "Include column headers when copying the results"

Tuesday, September 8, 2009

SQL Tips

SQL Tips

1. Do not use the stored procedure within the DTS jobs.
2. When the server crashed or harddisk crashes, if you do not have msdb backed up the DTS Jobs are lost.
3. Please make sure your master and msdb database are backed up.
4. Also have the procedures written as stored procedures and call them in DTS.