Thanks mpeppler,
As is probably self evident I've never used an MS SQL variant so I'll shut up now. And again thanks for the 'heads-up', I'll avoid MS SQL related questions until actually having used one in the future :-) | [reply] [Watch: Dir/Any] |
I think sp_columns<tablename> is what you may have really meant.
Hanlon's Razor - "Never attribute to malice that which can be adequately explained by stupidity"
| [reply] [Watch: Dir/Any] |
sp_columns works as well, but it gives you a lot more information for each column than is really necessary (the output runs to 20 columns on my system).
sp_help is the generic "get me information for this database object" procedure, and will give additional information, such as indexes that exist on the table, and any triggers that are defined.
It exists in all versions of MS-SQL and Sybase dating back to the Sybase 3.x releases in the mid-late 80s... :-)
Michael
| [reply] [Watch: Dir/Any] |
| [reply] [Watch: Dir/Any] |