获取sqlserver数据库中所有库、表、字段名的方法 03月12日 星期四 下午 12:51
access :
如果表存在,如何得到这个表?
SELECT *
FROM MSysObjects where name='ExamResultTime ' and type=1 and flags=0
//得到该数据库中所有的表名
SELECT name FROM MSysObjects where type=1 and flags=0
时间:2023-04-05 01:06:24
获取sqlserver数据库中所有库、表、字段名的方法 03月12日 星期四 下午 12:51
access :
如果表存在,如何得到这个表?
SELECT *
FROM MSysObjects where name='ExamResultTime ' and type=1 and flags=0
//得到该数据库中所有的表名
SELECT name FROM MSysObjects where type=1 and flags=0