I recently found a nice command "sp_helptext mysproc" that lists the definition of a stored procedure.
Is there anything equivalent to list the definition for a table?
I'm always wanting to find out the datatypes for table columns. We have so many tables it's a pain to find the table in Enterprise Manager, right click, and choose "Script table as..." > "Create to..." - which the only way I know how to do it.
Is there anything equivalent to list the definition for a table?
I'm always wanting to find out the datatypes for table columns. We have so many tables it's a pain to find the table in Enterprise Manager, right click, and choose "Script table as..." > "Create to..." - which the only way I know how to do it.