Get column name from SQL Server

后端 未结 7 2232
礼貌的吻别
礼貌的吻别 2021-02-14 05:32

I\'m trying to get the column names of a table I have stored in SQL Server 2008 R2.

I\'ve literally tried everything but I can\'t seem to find how to do this.

Ri

7条回答
  •  悲&欢浪女
    2021-02-14 06:16

    sp_columns - http://technet.microsoft.com/en-us/library/ms176077.aspx
    

    There are many built in stored procedures for this type of thing.

提交回复
热议问题