数据库查询哪些视图或者函数存在该表

版权声明:本文为博主原创文章,转载时请注明出处。 https://blog.csdn.net/nxw_tsp/article/details/82982743

数据库查询哪些视图或者函数存在该表

select distinct object_name(id) from syscomments
where id in (select id from sysobjects where type in('V','P'))
and text like '%product%'

猜你喜欢

转载自blog.csdn.net/nxw_tsp/article/details/82982743