Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Backup SQL Objects

Status
Not open for further replies.

xloop

Programmer
Nov 12, 2001
86
GB
How would i go about automatactially creating SQL scrips for all the tables, views and stored procedures in a particular database?

Need to do this every night (automatically)

Any help much appreciated
 
In enterprise Manager:

Expand a server group, and then expand a server.


Expand Databases, right-click the database to script, point to All Tasks, and then click Generate SQL Scripts.


On the General tab, select the database objects to script. By default, all objects in the database are scripted.

Script what you like !!!

DBomrrsm
 
The key word here is "automatically"

We need to run it every night without having to go into enterprise manager.

Any ideas?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top