Home Microsoft SQL Server DigiMailing iRN Contact
    Keyword



sys.sp_MSrepl_check_publisher

  No additional text.


Syntax


-- Name:
--		sp_MSrepl_check_publisher

-- Description:
--		Determine if an ad-hoc datasource is currently published.

-- Returns:
--		Result set:
--		Distributor that owns publisher
--		NULL if not published

-- Security:
--		public

-- Notes:
--		Used by the UI
--		Connect time out is measure in seconds (default of 60)


CREATE PROCEDURE sys.sp_MSrepl_check_publisher
(
	@publisher_type		sysname,
	@publisher		sysname,
	@security_mode		bit = 1,
	@login			nvarchar(255) = null,
	@password		nvarchar(255) = null,
	@connect_timeout	int = 60
)
AS
BEGIN
	DECLARE @retcode int

	IF UPPER(@publisher_type) IN ('ORACLE', 'ORACLE GATEWAY')
	BEGIN
		EXEC sys.sp_ORAcheckpublisher	@publisher,
								@security_mode,
								@login,
								@password,
								@connect_timeout
	END
	ELSE
	BEGIN
		RAISERROR(21645, 16, -1, @publisher_type)
		RETURN (1)
	END
END

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