EXEC sp_columns table_name
* sp_columns : one of the catalog stored procedures that retrieve information from the system tables.
They are created by installmaster at installation and located in the sybsystemprocs database.
They are owned by the System Administrator.
* We would use DESC / DESCRIBE command in Oracle & MySQL.
----------------------------------------------------------------------------
Reference: http://msdn.microsoft.com/en-us/library/aa259626(v=sql.80).aspx
No comments:
Post a Comment