Re: Date: the day before yesterday.
От | Jan Wieck |
---|---|
Тема | Re: Date: the day before yesterday. |
Дата | |
Msg-id | 200108142013.f7EKDDD18907@jupiter.us.greatbridge.com обсуждение исходный текст |
Ответ на | Date: the day before yesterday. ("Jason" <jzhu@dental.temple.edu>) |
Список | pgsql-sql |
Jason wrote: > I am trying to retrieve records generated in the passed two days and > encountered difficulties in dealing with the date in Oracle. > Here is the query I try to form: > > select * from Table where InputDate>=[the day before yesterday] > > I tried "sysdate-2", didn't work. > Any suggestions? Try harder. > Thanks! You're welcome. Jan PS: What about ('now'::date - 2) ? -- #======================================================================# # It's easier to get forgiveness for being wrong than for being right. # # Let's break this rule - forgive me. # #================================================== JanWieck@Yahoo.com # _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
В списке pgsql-sql по дате отправления: