高版本SQLSERVER对象名 'sysproperties'

2016-05-19  本文已影响0人  ArsonQ

执行以下命令:

if exists (select 1 from sysobjects where name = 'sysproperties'and xtype = 'V')
begin    
  DROP VIEW sysproperties
end    
  GO    
  CREATE VIEW sysproperties
AS 
SELECT class AS id,Minor_id AS sMallid,* from sys.extended_properties
上一篇 下一篇

猜你喜欢

热点阅读