Re: Sql mdb
- From: MikeR <nf4lNoSpam@xxxxxxxxx>
- Date: Tue, 12 Feb 2008 09:21:06 -0500
limelect wrote:
I have moved from pardox to mdbAre you trying to make a select query, or an update or insert? Trying to build an SQL string?
On paradox i could split the time and date on 2 fields
Now my record stil hase time and date separetly
I need to make an sql on date and time
1.How can i do it
2. I tried with sql startdate=11/09/2008 no luck dose not filter at all (no error)
3. I tried with sql startdate='11/09/2008' error
4. I tried with sql startdate="11/09/2008" error
5 I tried with sql startdate=11/09/2008 0:0 error
P.S the filed hase only date no time .should i include time,I cannot!!
The date and time delimiter in an mdb database is # and the date must be mm-dd-yyyy and time is hh:mm:ss if the field in the database is a datetime.
SQL := 'Select * from table where startdate = #11-09-2008#';
You can concatenate the date and time, separated by a space.
Startdate := '#' + date + ' ' + time + '#';
Mike
.
- Follow-Ups:
- Re: Sql mdb
- From: limelect
- Re: Sql mdb
- References:
- Sql mdb
- From: limelect
- Sql mdb
- Prev by Date: Re: Sql mdb
- Next by Date: Re: Sql mdb
- Previous by thread: Re: Sql mdb
- Next by thread: Re: Sql mdb
- Index(es):
Relevant Pages
|