查看视图带中文的

select a.name,a.[type],b.[definition] from sys.all_objects a,sys.sql_modules b 
where a.is_ms_shipped=0 and a.object_id = b.object_id and a.[type] in ('V') 
and b.[definition] LIKE N'%[吖-咗]%' COLLATE Chinese_PRC_CI_AS
order by a.[name] asc

分享名称:查看视图带中文的
标题来源:http://ybzwz.com/article/gghcie.html