获取数据库表和视图
select name from sysobjects where xtype in ('U','V') select name = s.name +'.'+ t.name from sys.tables t , sys.schemas s where t.schema_id = s.schema_id
如果您觉得本文对你有用,不妨帮忙点个赞,或者在评论里给我一句赞美,小小成就都是今后继续为大家编写优质文章的动力,百小僧拜谢!
欢迎您持续关注我的博客:)
版权所有,欢迎保留原文链接进行转载:)