today type function for TIMESTAMP col?

2001-04-20 Thread Andrew Warner
how do you query on a TIMESTAMP column to return all records of date today? I've been using "where date = 20010418 AND date 20010419" syntax and changing the dates as necessary, but I'd like to replace this with some kind of today() function. Andrew

Re: today type function for TIMESTAMP col?

2001-04-20 Thread Steve Ruby
Andrew Warner wrote: how do you query on a TIMESTAMP column to return all records of date today? I've been using "where date = 20010418 AND date 20010419" syntax and changing the dates as necessary, but I'd like to replace this with some kind of today() function. Andrew Use now()