Ver Mensaje Individual
  #3 (permalink)  
Antiguo 09/01/2006, 16:15
hunabku
 
Fecha de Ingreso: diciembre-2003
Mensajes: 595
Antigüedad: 21 años, 3 meses
Puntos: 1
Cita:
Iniciado por Mithrandir
Para sumar o restar fechas usas DateAdd

EXEC p_alumno DateAdd(Day, -1, GetDate())
me envia el siguiente error

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