Ver Mensaje Individual
  #4 (permalink)  
Antiguo 06/08/2004, 14:34
Avatar de Mithrandir
Mithrandir
Colaborador
 
Fecha de Ingreso: abril-2003
Mensajes: 12.106
Antigüedad: 21 años
Puntos: 25
Practicamente te apuesto la cena de hoy a que si agregas el

SET NOCOUNT ON

al inicio (y opcionalmente el SET NOCOUNT OFF al final) que te pone RootK en su ejemplo tu SP funcionará sin problemas

PD. El "drop table #tmpTipoPatologia" final no lo necesitas, precisamente el # indica una tabla temporal
__________________
"El hombre, en su orgullo, creó a Dios a su imagen y semejanza."
Friedrich Nietzsche

Última edición por Mithrandir; 06/08/2004 a las 14:35