Home Microsoft SQL Server DigiMailing iRN Contact
    Keyword



sys.sp_enumcodepages

 

Returns a list of the code pages and character sets supported by sp_makewebtask. This procedure is no longer available in SQL 2008.




Syntax

-- sp_enumcodepages: Get a list of supported code pages

CREATE PROCEDURE sys.sp_enumcodepages
AS
BEGIN
	DECLARE @retval int
    DECLARE @procname nvarchar(128)

	-- Make sure that it's the SA executing this.
    IF ( NOT ( is_srvrolemember('sysadmin') = 1 ) )
    BEGIN
       RAISERROR( 15003, -1, -1, 'sysadmin' )
       RETURN(1)	
    END

	SET @retval = 0

	EXEC @retval = sys.xp_enumcodepages

    IF (@retval <> 0)
	BEGIN
	    SET @procname = 'sp_enumcodepages'
	    RAISERROR(@retval,11,1, @procname)
	END

    RETURN @retval
END

 
Last revision
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