TSql 查询表的列

select name from syscolumns where id = object_id(N'mytable')
原文地址:https://www.cnblogs.com/barrysgy/p/2544722.html