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')

 

posted on 2019-07-17 10:05  乌云上  阅读(748)  评论(0编辑  收藏  举报

导航