Home Microsoft SQL Server DigiMailing iRN Contact
    Keyword



sys.sp_IHgetprovider

  No additional text.


Syntax


-- Name:
--          sp_IHgetprovider

-- Description:
--          Determine the OLEDB provider to use for
--			HREPL publisher

-- Security:
--          Internal

-- Returns:
--          Error code

-- Owner:
--          acarter

-- Notes:
--			Calls publisher type specific routine to do the actual
--			provider detemination.  To add a new publisher type,
--			a new worker proc should be created.


CREATE PROCEDURE sys.sp_IHgetprovider
(
	@publisher_type	sysname OUTPUT,
	@provider		sysname OUTPUT
)
AS
BEGIN
	DECLARE @retcode int


	IF (UPPER(@publisher_type) LIKE N'ORACLE%')
	BEGIN
		EXEC @retcode = sys.sp_ORAgetprovider @publisher_type OUTPUT, @provider OUTPUT
	END
	ELSE
	BEGIN
		RAISERROR(21645, 16, -1, @publisher_type)
		RETURN (1)
	END

	RETURN @retcode
END

 
Last revision 2008RTM
See also

  sp_MSdrop_replcom (Procedure)
sp_MSrepl_adddistpublisher (Procedure)
sp_MSrepl_testconnection (Procedure)
sp_ORAcheckpublisher (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