Ver Mensaje Individual
  #5  
Antiguo 31-10-2006
mendozasoftware mendozasoftware is offline
Registrado
 
Registrado: abr 2005
Posts: 6
Reputación: 0
mendozasoftware Va por buen camino
ESTA ES LA SENTENCIA

Insert Into Trabvig(id_trabajad, Vigente)
Select (id_trabajad, Fue_vigente_2 (id_trabajad, GETDATE,GETDATE))
From Trabajad

Y EL ERROR:::::
______________________________________

Server: Msg 170, Level 15, State 1, Line 2
Line 2: Incorrect syntax near ','.


TAMBIEN LO PONGO DE ESTA MANERA


Insert Into Trabvig(id_trabajad, Vigente)
Select id_trabajad, FUE_VIGENTE_2 (id_trabajad, GETDATE,GETDATE)
From Trabajad

Y ME MANDA EL ERROR
Server: Msg 195, Level 15, State 10, Line 2
'FUE_VIGENTE_2' is not a recognized function name.

LA FUNCION EXISTE !!!

Última edición por mendozasoftware fecha: 31-10-2006 a las 21:03:54.
Responder Con Cita