sethindeed
01-10-2002, 01:46 PM
Okay
Here is my problem :
I am saving in an SQL Server database a Date Time Value (i.e : 01/10/02 15:15PM ) and I would like to be able to make a search on the date only via SQL language ( without considering the Time value ).
I tried about everything, from the LIKE keyword to the simple query ( Where Date = '01/10/02' )
It never returns any results because 01/10/02 is not the same time than 01/10/02 15:15PM ...
Anybody has a clue on how I can search the date value only ( and my program is already distributed, so it is a little bit too late to create a cloumn for date and another one for time...)
Thank you in advance...
Here is my problem :
I am saving in an SQL Server database a Date Time Value (i.e : 01/10/02 15:15PM ) and I would like to be able to make a search on the date only via SQL language ( without considering the Time value ).
I tried about everything, from the LIKE keyword to the simple query ( Where Date = '01/10/02' )
It never returns any results because 01/10/02 is not the same time than 01/10/02 15:15PM ...
Anybody has a clue on how I can search the date value only ( and my program is already distributed, so it is a little bit too late to create a cloumn for date and another one for time...)
Thank you in advance...