sql查询表在那个存储过程中使用

select name from sys.objects where object_id in (select id from syscomments where text like '%tablename%')
posted @ 2023-02-22 14:29  弩哥++  阅读(9)  评论(0编辑  收藏  举报