Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> date minus one
Just curious how the rest of the world gets "yesterday" in UNIX. We're
running Solaris and we execute a sqlplus script with "select sysdate-1 from
dual;" and pipe it to tail to set an environment variable.
Is there a more UNIXy way, -or- maybe a java function. Any suggestions welcome.
TIA,
Jon Knight
-- http://www.freelists.org/webpage/oracle-lReceived on Tue Mar 29 2005 - 13:59:01 CST