SQLServer中获取特定表的所有列名

方法一:sp_help 表名GO方法二:declare @objid int,@objname char(40)set @objname = '表名'select @objid = id from sysobjects where id = object_id(@objname)select 'Co
posted @ 2019-10-28 22:50  YZFHKMS-X  阅读(1626)  评论(0编辑  收藏  举报