高版本SQLSERVER对象名 'sysproperties' 无效

执行以下命令:

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

你可能感兴趣的:(高版本SQLSERVER对象名 'sysproperties' 无效)