|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
DateTime data type
How do I enter dateTime values into an Access database?
For example, if I want to enter a value of 05/25/2004 : 7:30 PM into a field called startdate, how should this be formatted? |
|
#2
|
||||
|
||||
|
Using SQL? Use # instead of single quote. E.g.
INSERT INTO foo (mydate) VALUES (#27/5/2004 10:00:00#) A quick search on Google would answer this question. |
![]() |
| Viewing: Dev Articles Community Forums > Databases > Microsoft SQL Server > DateTime data type |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|