Deprecated. Don't use for new development and try to migrate existing uses.
Type:
Stored procedure
Scripts a table.
Does not script constraints or indexes. Use ADMINDEV_ScriptTableIndexes and ADMINDEV_ScriptTableConstraints for that.
Parameters
@ObjectIdTable
optional
int
Object id of table to script. Overrides @TableName when present.
@TableName
optional
sysname
Name of the table to script. May be quoted (with []). Schema is optional.