SQL Server – list table columns for a particular table

SQL Server – list table columns for a particular table

</pre>
select TABLE_NAME, COLUMN_NAME

from INFORMATION_SCHEMA.COLUMNS

where TABLE_NAME='PIPING'

order by TABLE_NAME, ORDINAL_POSITION
<pre>
ELB Solutions.com Inc.
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.