`

在SQL里面取得字段的类型长度的方法

SQL 
阅读更多
select * from systypes where xtype=xusertype and xtype in (select  xtype from syscolumns where  id =(select id from sysobjects where name='tock' and xtype='U'))

从这个结果里面可以取得结果集字段的类型、长度

坏男孩 2007-06-10 02:05 发表评论
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics