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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Table Scripts - Do Not Contain Default Values ?? 1

Status
Not open for further replies.

JohnBates

MIS
Feb 27, 2000
1,995
US
Hi,

This is SQL 2000 SP 3a

When I script a table - - in Enter Mgr - right click --> Create Script....

The script doesn't reflect default values so I then have to put those in manually after running the script.

Is there a way to capture defaults in the script?

Thanks, John
 
On the options tab there is an option to script defults - with PKs and FKs ...

======================================
Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.
 
well, duh ! I should have explored those options before submitting a question.

Thanks, John
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top