Ver Mensaje Individual
  #2 (permalink)  
Antiguo 09/01/2006, 16:08
Avatar de Mithrandir
Mithrandir
Colaborador
 
Fecha de Ingreso: abril-2003
Mensajes: 12.106
Antigüedad: 21 años, 10 meses
Puntos: 25
Una opción es algo como:
Código:
DECLARE @fecha SmallDateTime

SELECT @fecha = fecha FROM tabla1 WHERE algo

UPDATE tabla2
SET otrafecha = DateAdd(Day, 15, @fecha)
WHERE algo
__________________
"El hombre, en su orgullo, creó a Dios a su imagen y semejanza."
Friedrich Nietzsche