Community discussion forum

how to compare date in string

Tags: .net, access India
  • 9 months ago
    how to compare less then or greater then date in query like select * from status where datedate.today
    Post was edited on 25/02/2009 07:29:09 Report abuse
  • 8 months ago
    select * from status where **yourDBFieldName < GetDate()** It's always better to check also if "yourDBFieldName" is not null before you query. ---------------------------------------------------------------------------------------------------------

Post a reply

Enter your message below

Sign in or Join us (it's free).

Want to stay in touch with what's going on? Follow us on twitter!