Ver Mensaje Individual
  #7 (permalink)  
Antiguo 19/05/2010, 14:03
Avatar de flaviovich
flaviovich
 
Fecha de Ingreso: agosto-2005
Ubicación: Lima, Peru
Mensajes: 2.951
Antigüedad: 18 años, 8 meses
Puntos: 39
Respuesta: Servidores linkeados

Has probado asi?
Código SQL:
Ver original
  1. IF EXISTS(SELECT TOP 1  1
  2. FROM Serverlinkeado.Base de datos.dbo.tabla(SP, vista, etc.) )
  3. BEGIN
  4. print 'hay conexion'
  5. END
__________________
No repitamos temas, usemos el Motor de busquedas
Plantea bien tu problema: Ayúdanos a ayudarte.