|
|
Cry How to...List all columns in a tableTo list all the columns in a table the simplest way is:
unfortunately this returns more than just the columns in the table. Alternately, to just list the columns use:
where <table_name> is the name of the table. For example:
These notes have been tested against SQL Server 7. |