摘要: SELECT TOP 10 st.text AS SQL_Full, SUBSTRING( st.text, (qs.statement_start_offset / 2) + 1, ((CASE statement_end_offset WHEN -1 THEN DATALENGTH(st.tex 阅读全文
posted @ 2021-04-13 16:24 封存。 阅读(94) 评论(0) 推荐(0)
摘要: declare @s nvarchar(4000) declare tb cursor local for select 'sp_refreshview '''+name+'''' from sysobjects where xtype='V' and status>=0 order by name 阅读全文
posted @ 2021-04-13 15:46 封存。 阅读(66) 评论(0) 推荐(0)