Home Microsoft SQL Server DigiMailing iRN Contact
    Keyword



sys.sp_MSrepl_gettype_mappings

  No additional text.


Syntax
create procedure sys.sp_MSrepl_gettype_mappings
(
	@dbms_name		sysname,
	@dbms_version 		sysname = NULL,
	@sql_type		sysname = '%',
	@source_prec	int = NULL
)
as
    set nocount on
    declare @retcode int
    declare @distributor sysname
    declare @distribdb sysname
    declare @distproc nvarchar (255)

    EXECUTE @retcode = sys.sp_MSrepl_getdistributorinfo @rpcsrvname = @distributor OUTPUT,
           @distribdb   = @distribdb OUTPUT
    IF @@ERROR <> 0 or @retcode <> 0
    BEGIN
        RAISERROR (14071, 16, -1)
        RETURN (1)
    END

    SELECT @distproc = QUOTENAME(RTRIM(@distributor)) + '.' + QUOTENAME(RTRIM(@distribdb)) + '.sys.sp_help_datatype_mapping'

    EXECUTE @retcode = @distproc
                       @dbms_name = @dbms_name,
                       @dbms_version = @dbms_version,
                       @sql_type = @sql_type,
                       @source_prec = @source_prec

    IF @@ERROR <> 0 OR @retcode <> 0
        return 1
    ELSE
        return 0

 
Last revision 2008RTM
See also

  sp_MSdrop_replcom (Procedure)
       



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