views:

31

answers:

1

in mysql it is possible to do show create table tablename

what is the sql server equivalent?

+3  A: 

In SSMS, right-click on the table node and "Script Table As" / "Create".

There is no built in 'script this table' T-SQL.

sp_help 'tablename' gives useful table information if that'd do.

Will A