Ver Mensaje Individual
  #10 (permalink)  
Antiguo 12/01/2006, 13:15
hunabku
 
Fecha de Ingreso: diciembre-2003
Mensajes: 595
Antigüedad: 21 años, 3 meses
Puntos: 1
Cita:
Iniciado por Mithrandir
Hmm entonces prueba llamarlo así para hacer un enlace explícito con el parámetro:

EXEC p_alumno @fecha = DateAdd(Day, -1, GetDate())
me regresa al error original



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