sqlserver数据库查询语句

--数据库所有表
select * from sysobjects where type='u';

--指定表的所有列
select name from syscolumns where id=(select max(id) from sysobjects where xtype='u' and name='T_EMPLOYEE')

猜你喜欢

转载自www.cnblogs.com/1906859953Lucas/p/11199158.html