- 博客(3)
- 收藏
- 关注
转载 syscomments
列名 数据类型 说明 id int 该文本适用的对象 ID。 number smallint 如果进行分组,则为过程分组内的号码。 0 = 项不是过程,1=存储过程。 colid smallint 超过 4,000 个字符的对象定义的行序列
2015-08-26 14:25:00
837
原创 sqlserver sysobject 查找新增字段和修改字段
//查找新增字段 select name as '新增字段',(select name from 【测试库】.sys.sysobjects where id= tech.id ) as '表名',* from 【测试库】.sys.syscolumns as tech where name not in ( select name from 【正式库】.sys.sysco
2015-08-26 11:02:18
628
原创 sqlserver sys系列参数纪要
//获取指定表信息 select * from sys.all_objects where type='u' and name='UserDeliveryBook' //获取一个表中的所有字段信息 select * from sys.syscolumns where id=(select object_id from sys.all_objects where type='u'
2015-08-24 10:39:02
483
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人