Home Microsoft SQL Server DigiMailing iRN Contact
    Keyword



sys.sp_helplanguage

  No additional text.


Syntax
create procedure sys.sp_helplanguage --- 1996/04/08 00:00
@language sysname = NULL
as
	-- Print all languages if the user didn't give the language name.
	if @language is null
	begin
		if exists (select * from sys.syslanguages)
			select * from sys.syslanguages
		else
			raiserror(15452,-1,-1)

		-- Find out whether us_english is there or not.
		if not exists (select * from sys.syslanguages
				where name = 'us_english')
			raiserror(15453,-1,-1)

		return (0)
	end

	--  Report information on this language.
	if exists (select * from sys.syslanguages where name = @language)
	begin
		select * from sys.syslanguages where name = @language
		return (0)
	end

	if exists (select * from sys.syslanguages where alias = @language)
	begin
		select * from sys.syslanguages where alias = @language
		return (0)
	end

	-- Couldn't find this language.
	if @language = 'us_english'
	begin
		raiserror(15453,-1,-1)
		return (0)
	end
	else
	begin
		raiserror(15033,-1,-1,@language)
		return (1)
	end
-- sp_helplanguage

 
Last revision 2008RTM
News

  Query a named instance
Sybase+ASE+silent+install
SQL 2008 R2
Deprecated procedures in SQL2008
Reporting Services item-level role definitions
Create all your missing indexes
Converting datetime field
Start MSSQL Server Profiler at time
Replicating MSSQL Server views
Exploring Microsoft Sharepoint
The OLE DB provider "SQLNCLI10" for linked server indicates.
Mobile solar charger
Oracle to SQL Server replication
Cannot insert the value NULL into column
Undocumented Microsoft SQL Server 2008
VMware
Zoekmachine optimalisatie
SQL Servers hidden objects
FckEditor
Flash in Ajax
De hype die AJAX heet
Barcode scannen
MySQL; Gratis, makkelijk en snel!
PHP
sIFR; de combinatie tussen HTML en Flash