Hi i know this has been asked alot but i couldnt find anything that worked.
My query looks like this :
My dates in the SQL CE = "2007-05-11 15:25:40"
"Select * from table where Workdate='" & dtework & "'"
Ive tried to use "Like dtework "%" ""
Now i cant seem to just select on a date "2007/05/11" , Ive been using convert and other things found on the internet.But they all dont seem to select it.
Do mind im using SQLCE instead of a normal SQL server
My query looks like this :
My dates in the SQL CE = "2007-05-11 15:25:40"
"Select * from table where Workdate='" & dtework & "'"
Ive tried to use "Like dtework "%" ""
Now i cant seem to just select on a date "2007/05/11" , Ive been using convert and other things found on the internet.But they all dont seem to select it.
Do mind im using SQLCE instead of a normal SQL server
Comment