I have to port a MS Access DB to anotherdatabase engine and I would
like to use MySQL because I am familiar with it and is easy to
integrate with the web and php what is the ned point of my 'quest'.
However there are paramter queries in the access database and I would
really like to keep the access database as a backup as long as I'm in
the progress of moving/porting.
I have taken a look at the ODBC connector (3.51) and have tried a few
things. There is only one problem which gives me a headache.
Is there a way to support parameterized access queries in the MS
Access frontend with the ODBC connector and the MySQL backend?
Jonathan 3 2134
"Jonathan" <jo******@heelal.nl> wrote in message
news:mk********************************@4ax.com... Is there a way to support parameterized access queries in the MS Access frontend with the ODBC connector and the MySQL backend?
As far as I know, you can use parameters in quires, even when they are ODBC.
About the only problem is that often JET does not do a great job of
optimizing the sql sent to the server. (especially so when using tables with
joins).
And, if you can, you should try and use a pass-through query, then you
by-pass jet altogether, and eliminate performance bottle necks. However, I
have not tried pass-though queries with parameters...and not sure if that
works!
As a work-around just build the sql in-line and pass that to the server (the
useful ness of this tip is going to depend on your existing designs.)..
--
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada pl*****************@msn.com http://www.members.shaw.ca/AlbertKallal
On Sun, 16 Jan 2005 00:23:38 GMT, "Albert D. Kallal"
<Pl*******************@msn.com> wrote: "Jonathan" <jo******@heelal.nl> wrote in message news:mk********************************@4ax.com.. .
Is there a way to support parameterized access queries in the MS Access frontend with the ODBC connector and the MySQL backend?
As far as I know, you can use parameters in quires, even when they are ODBC. About the only problem is that often JET does not do a great job of optimizing the sql sent to the server. (especially so when using tables with joins).
Do you happen to know some documentation about this, because I have
not found anything untill now.
And, if you can, you should try and use a pass-through query, then you by-pass jet altogether, and eliminate performance bottle necks. However, I have not tried pass-though queries with parameters...and not sure if that works!
Can you give me a hint on pass-through queries. I would like to have a
look of I can use this to implement as a solution. As a work-around just build the sql in-line and pass that to the server (the useful ness of this tip is going to depend on your existing designs.)..
Thanks,
Jonathan
"Jonathan" <jo******@heelal.nl> wrote in message
news:gn********************************@4ax.com...
Gee, I don't drop by this NG very much...so sorry for the delay.. As far as I know, you can use parameters in quires, even when they are ODBC. About the only problem is that often JET does not do a great job of optimizing the sql sent to the server. (especially so when using tables with joins). Do you happen to know some documentation about this, because I have not found anything untill now.
Just connect and setup a table link to a table on MySql. If you run the
query with parameters...you will get prompted as you always did.
I don't see any reason why queries with parameters don't work with
MySql..they should work with any ODBC database.. And, if you can, you should try and use a pass-through query, then you by-pass jet altogether, and eliminate performance bottle necks. However, I have not tried pass-though queries with parameters...and not sure if that works!
Can you give me a hint on pass-through queries. I would like to have a look of I can use this to implement as a solution.
Again, pass through queries is simply a option in the query builder. What
this means is that the sql you write is UN-TOUCHED by ms-access, and the raw
sql text is sent to MySql. This gives you the highest performance. (just
check out pass-through in the ms-access help). While in the query builder,
just go from the menu query->sql specific->Pass-through..
--
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada pl*****************@msn.com http://www.members.shaw.ca/AlbertKallal This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Gordan |
last post by:
Hi,
I have a site written in PHP with MS SQL Server 2000 as the db backend. When
the site was made there was no need for advanced banner rotation so a 10
line script was written and it served...
|
by: Massimo Fiorentino |
last post by:
Hello there!
I am a bit of a newbee into the mySQL world and I have a question regarding
switching from one DB to another. I have for a couple of years used a very
simple CMS-system created by...
|
by: Dave Crypto |
last post by:
Hi there,
SUMMARY:
1) When I use phpadmin to export a large database, the file created on
my local PC never containes all the tables and information. It seems
to max out at about 10mb.
2)...
|
by: Errol Neal |
last post by:
Hi all,
Not sure if this is a question for a php list or this one, but I'll give it
a shot and
if I am wrong, please do not crucify me. :-)
There is a php based sourceforge project called...
|
by: Chris Travers |
last post by:
Hi all;
A few years ago, I set about porting a PHP application from MySQL to
PostgreSQL, after realizing that MySQL wasn't going to be able to handle it.
In order to do this, I built a light,...
|
by: Ted |
last post by:
Understand, I have developed a number of applications using RDBMS,
including MySQL, PostgreSQL and MS Access, but this is my first
experience with MS SQL. I'd bet my bottom dollar that MS SQL...
|
by: Ted |
last post by:
1) In several tables, in my MySQL version, I created columns using
something like the following:
`ab_timestamp` timestamp NOT NULL default CURRENT_TIMESTAMP on update
CURRENT_TIMESTAMP,
This...
|
by: Ted |
last post by:
Here is one such function:
CREATE FUNCTION my_max_market_date () RETURNS datetime
BEGIN
DECLARE @mmmd AS datetime;
SELECT max(h_market_date) INTO @mmmd FROM holdings_tmp;
RETURN @mmmd;
END
...
|
by: ssnaik84 |
last post by:
Hi Guys,
Last year I got a chance to work with R&D team, which was working on DB scripts conversion..
Though there is migration tool available, it converts only tables and constraints..
Rest of...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
| |