Consulta la fecha anterior al día actual

1
select DATEADD(day, -1, getDate()) as fechaAnterior
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

1 Response

En Oracle:
select trunc(sysdate)-1 from dual

Write a comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.