Ver Mensaje Individual
  #12 (permalink)  
Antiguo 12/01/2006, 14:02
hunabku
 
Fecha de Ingreso: diciembre-2003
Mensajes: 595
Antigüedad: 21 años, 3 meses
Puntos: 1
Cita:
Iniciado por pineda
Prueba con esto:

EXEC p_alumno @fecha =(Select DateAdd(Day, -1, GetDate()))
me envia este error

Server: Msg 170, Level 15, State 1, Line 1
Línea 1: sintaxis incorrecta cerca de 'Day'.
Server: Msg 170, Level 15, State 1, Line 2
Línea 2: sintaxis incorrecta cerca de '('.