when i run the below query;
select * from Tb_SCh_TIme_Table
Sch_Date Session Course Faculty_Code
2/11/2013 1 ARPA BAB
2/12/2013 1 CHEMCO BSR
2/13/2013 3 CL2 CJJ
when i run the Below query
select * from Tb_SCh_TIme_Table where Sch_Date = 2/11/2013
The output is not coming why?
what is the problem in my above query?
Please help me.
Regards,
Rao

Satyapriya NayakRank #47 · 31.5K reputationPosted Feb 24, 2013, 10:25 PM EST
str = "select * from Tb_SCh_TIme_Table where Sch_Date = '2/11/2013'";
If datatype is datetime then use
str = "select * from Tb_SCh_TIme_Table where Sch_Date = #2/11/2013#";
Thanks