2
Answers

Query

Photo of Jagjit Saini

Jagjit Saini

13y
1.4k
1
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)

Next Recommended Forum