December 27, 2006 at 3:10 pm
really easy question, but i can't find it:
How do I set EM in SQL server 2k to generate a script when table changes are made? I know there is a checkbox somewhere.
Thanks!!
Sam
December 27, 2006 at 3:54 pm
I don't think there is anything that does it automatically. After you make a change, you can right click on the table, select All Tasks > Generate SQL Script. But if you mean an 'auditting' type of thing, where anytime a table is changed a script is saved to a file...I don't believe SQL Server does that.
-SQLBill
December 27, 2006 at 4:24 pm
If you make the change in Enterprise manager, before, or instead of hitting the save icon, click the generate script icon.
December 28, 2006 at 4:22 pm
Actually, since RedGate just procurred this site, try RedGate SQL Compare
--Jeff Moden
Change is inevitable... Change for the better is not.
December 29, 2006 at 9:17 am
Thanks. But what I am looking for is access to a checkbox that says to script all changes when table edits are made. It was doing this, and for some reason I unchecked the box. The screen to recheck the box is nowhere to be found and I'd like to recheck it.
THanks,
Sam
January 3, 2007 at 9:59 am
Sam - you might be referring to the "Options" tab where you can check the table scripting options to script indexes, primary keys, check constraints etc. where you get an alter table script along with the create table script...
**ASCII stupid question, get a stupid ANSI !!!**
Viewing 6 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply