The meta data is from an SQL 2012 Server.
I have posted alot more, find the whole list here.
Goto Definition or MetaData
Definition:
sys.sp_catalogs_rowset2()MetaData:
create procedure sys.sp_catalogs_rowset2
as
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
-- copy & pasted from version 1 of the SProc and removed checks for 1st parameter !
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
select
CATALOG_NAME = name,
DESCRIPTION = convert(nvarchar(1),null)
from
sys.databases
where
has_dbaccess(name)=1 OR serverproperty('EngineEdition') = 5
order by 1
No comments:
Post a Comment