How to get column names and column data types of a particular table using T-SQl
Transact-SQL
select column_name,data_type
from information_schema.columns
where table_name='myTable'
'yourtablename' or Sys.Columns though best method isYou can also check sp_columns
information_schema.columns
Madhu