Re: Recommended? Access + DAO + SQLServer 2000 + ODBC
- From: "david epsom dot com dot au" <david@epsomdotcomdotau>
- Date: Fri, 27 Jan 2006 08:50:43 +1100
Using Now() as a criteria, if you have a fairly simple query,
Now() should be evaluated by Jet/VBA, and the value sent to
SQL Server, which would then try to match that value (using
an index if available), and if you were lucky, return a
matching record.
If you were unlucky, you would fail, because time values
are stored differently in SQL Server.
Because time values are stored differently, you can't be
sure that time values will match exactly.
More complex queries (particularly those with Left or Right
Joins) may download enough of the records to do the Joins
locally, and criteria may be evaluated locally, but you still
will have trouble with Now(), because when you get a time
value back, it may not be exactly the same as a time value
you sent.
(david)
"Savvoulidis Iordanis" <iordanis_sav@xxxxxxxxxxx> wrote in message
news:%237z$qNmIGHA.3700@xxxxxxxxxxxxxxxxxxxxxxx
> Thank you all. Probably I'll try the terminal server solution at first
> (which has no app changes)
>
> But anyway, if some of my queries, use the Now() function in the criteria,
> how can this be used in Access MDE and ODBC connection to SQL Server? Are
> there any changes that I should make to my queries or code, in the SQL
> Server scenario?
>
>
.
- Follow-Ups:
- Re: Recommended? Access + DAO + SQLServer 2000 + ODBC
- From: Savvoulidis Iordanis
- Re: Recommended? Access + DAO + SQLServer 2000 + ODBC
- References:
- Recommended? Access + DAO + SQLServer 2000 + ODBC
- From: Savvoulidis Iordanis
- Re: Recommended? Access + DAO + SQLServer 2000 + ODBC
- From: david
- Re: Recommended? Access + DAO + SQLServer 2000 + ODBC
- From: Savvoulidis Iordanis
- Recommended? Access + DAO + SQLServer 2000 + ODBC
- Prev by Date: Re: Checking for a date in a table by using a recordset
- Next by Date: Re: Import Problems
- Previous by thread: Re: Recommended? Access + DAO + SQLServer 2000 + ODBC
- Next by thread: Re: Recommended? Access + DAO + SQLServer 2000 + ODBC
- Index(es):
Relevant Pages
|