jbenson001
Programmer
Hi everyone,
I am trying to find how to set the scripting opitons in 2005. For example, in 2000 you have a wizard where you can choose multiple objects and select multiple scripting options such as generation a CREATE and/or DROP statement:
In 2005 you can right click a table, or SP for example and choose to generate the script to the clipboard, file,or new ediort window. What I would like to know if is there a way to generate the scripts like in 2000? Is there a way to get it to generate the DROP and CREATE statements and choose various options?
Thanks...
Jim
I am trying to find how to set the scripting opitons in 2005. For example, in 2000 you have a wizard where you can choose multiple objects and select multiple scripting options such as generation a CREATE and/or DROP statement:
Code:
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[Makes]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)
drop table [dbo].[Makes]
GO
--Create table here .. etc
Thanks...
Jim