select * from sysobjects where type = 'U'--查询用户表
select * from sysobjects where type = 'v' --查询试图
select * from sysobjects where type = 's' --查询系统表
本文介绍了 SQL Server 中查询用户表、视图及系统表的方法。通过简单的 SQL 语句展示如何有效地获取所需表信息。
select * from sysobjects where type = 'U'--查询用户表
select * from sysobjects where type = 'v' --查询试图
select * from sysobjects where type = 's' --查询系统表

被折叠的 条评论
为什么被折叠?