真爱无限的知识驿站

学习积累技术经验,提升自身能力

sql语句查询数据库中的表名/列名/主键/自动增长值

----查询数据库中用户创建的表----jsj01 为数据库名select name tablename from jsj01..sysobjects where type='U' and name not in ('dtproperties')--查询表里的字段信息 ---docs为表名---- select * from syscolumns where id = object_id('doc

<< 1 >>

Powered By Z-BlogPHP 1.7.3

Copyright 2024-2027 pukuimin Rights Reserved.
粤ICP备17100155号