Jagjit Saini

Jagjit Saini

  • NA
  • 166
  • 0

Query

Sep 5 2011 7:00 AM
Hi


I have datetime  field Order_Date in MYSQl table (2008-11-11 13:23:44.657)

I have 1 variable in which date is stored in dd-MM-yyyy format

I want to write a sql statement (select * from table1 where order_date = variable . How i write this statement comparing the dates . I am using MySql.



Thanks

Answers (2)