ADO Datetime field
Posted: Wed Jun 20, 2007 8:09 pm
To All
How do I concantonate date()+time() into a datetime field to SQL server with ADO ??
The reason to add the time stamp is because SQl server does not respect 'natural order'. When I have multiple entry's on the same date() .. SQL will order them randomly within the same date and not as they were added to the table by date .. however if I add the Time() aspect to the datetime field .. the records sort in order of actual sequence.
Rick Lipkin
SC Dept of Health, USA
How do I concantonate date()+time() into a datetime field to SQL server with ADO ??
The reason to add the time stamp is because SQl server does not respect 'natural order'. When I have multiple entry's on the same date() .. SQL will order them randomly within the same date and not as they were added to the table by date .. however if I add the Time() aspect to the datetime field .. the records sort in order of actual sequence.
Rick Lipkin
SC Dept of Health, USA