Consulta la fecha anterior al día actual

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

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.