April 6, 2012 at 1:32 am
Hey friends,
I am having one database named HR_DB126 in which multiple objects are present, I want the statements(queries) of all that objects how it is possible to get that statements.....?
I would like to save it in MS WORD DOC for future understanding, how it is possible......?
Thanks & Regards,
Er.karthikn
April 6, 2012 at 2:56 am
In SSMS right click on the database and script database as. You then just need to select the objects you would like to include in the generated script.
Andy
==========================================================================================================================
A computer lets you make more mistakes faster than any invention in human history - with the possible exceptions of handguns and tequila. Mitch Ratcliffe
April 6, 2012 at 4:58 am
also, save the script as a txt / sql file, not a word doc; depending on your settings for autocorrect, some words could get changed from the actual script in Word, and that's a pain.
Lowell
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply