June 6, 2012

sp_oledb_ro_usrname (Transact-SQL MetaData) Definition

Please note: that the following source code is provided and copyrighted by Microsoft and is for educational purpose only.
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_oledb_ro_usrname()

MetaData:

   
create procedure sys.sp_oledb_ro_usrname
as
select
substring('NY',is_read_only+1,1),user_name()
from
sys.databases
where
name=DB_NAME()

No comments:

Post a Comment

Total Pageviews