查询视图sql

1:Oracle

select text from all_views where view_name = '视图名字';

2:SQL

select text from syscomments s1 join sysobjects s2 on s1.id=s2.id where name='视图名字'

posted @ 2022-11-14 15:15  没有狐狸的南墙  阅读(117)  评论(0编辑  收藏  举报