in reply to
Re: Re: Re: Perl DBI Insert row
in thread Perl DBI Insert row
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... :-)