April 30, 2012

sp_helpsort (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_helpsort()

MetaData:

 create procedure sys.sp_helpsort  
AS
set nocount on

-- Now display the server default collation name
declare @servercollation sysname
select @servercollation = convert(sysname, serverproperty('collation'))

if @servercollation is not NULL
begin
select 'Server default collation' = description
from sys.fn_helpcollations() C
where @servercollation = C.name
end

set nocount off
return(0) -- sp_helpsort

No comments:

Post a Comment

Total Pageviews