摘要:
得到数据库中所有的表select name from sysobjects where xtype='u' and name='{0}'1.获取表的基本字段属性--获取SqlServer中表结构SELECTsyscolumns.name,systypes.name,syscolumns.isnullable,syscolumns.lengthFROMsyscolumns,systypesWHEREsyscolumns.xusertype=systypes.xusertypeANDsyscolumns.id=object_id('你的表名')运行效 阅读全文
posted @ 2014-04-11 14:25
老皆知
阅读(1664)
评论(0)
推荐(0)