SQL-Server + Date/Time 
Author Message
 SQL-Server + Date/Time

i got some problems using sql-server with datetime-members with
vc-date/time-controls, so i finally saved it in a string. but when trying to
use following where-statement, i get an empty recordset:

... WHERE ((([DPersch].[MyApp].Date) BETWEEN '1.4.2000' AND '10.4.2000'))

is there no possibility to enter a date-range for a string?

Daniel Persch

Fri, 27 Sep 2002 03:00:00 GMT  
 SQL-Server + Date/Time
sorry, i found the problem: i have to enter the '0's before:


Daniel Persch

Fri, 27 Sep 2002 03:00:00 GMT  
 [ 2 post ] 

 Relevant Pages 

1. globalization date & time sql server

2. Getting Sql database server date and time??

3. Storing date/time value on SQL server with milliseconds resolution using vc++ and ado 2.0

4. C time/date to Visual Basic time/date

5. Date format with SQL Server and Vc++

6. Retrieving DATE type from SQL Server 6.5

7. Date Time Picker - Date AND Time

8. Question about Get Server Current Date and time, thank you

9. Getting the Date and Time from the Server

10. Getting Date/Time from the Server

11. Server Date&Time

12. Get current time and date form an Server


Powered by phpBB® Forum Software