How to get SQL code of a Table

J

jl5000

If you are referring to MS SQL Server tables here is how:

1.Right Click on the table inside Enterprise Manager
2.Select All Tasks\Generate SQL Script
3.In the General tab click on Preview to see the script
 
Top