[AccessD] Upsize?

Jim Lawrence accessd at shaw.ca
Tue Dec 20 15:31:24 CST 2005


Hi Jürgen:

Can you not use Stored Procedures and just pass parameters? They tent to be
quicker, have greater flexibility, easier to work with and safer.

Jim

-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jürgen Welz
Sent: December 19, 2005 9:42 PM
To: accessd at databaseadvisors.com
Subject: Re: [AccessD] Upsize?

Michael:

With variable joins, do you point somthing like a list source of search 
'hits' to different queries, one query for each join, or how do you handle 
variable combinations of joins?  Lets say there is 1 table that may be 
joined to 0 to 5 other tables in various combinations, being 32 possible 
querydefs.  I've always constructed the SQL in code and was very satisfied 
with the performance.  Add another table and you're up to 64 querydefs.  
That's ugly.



Ciao
J|rgen Welz
Edmonton, Alberta
jwelz at hotmail.com





>From: "Michael Maddison" <michael at ddisolutions.com.au>
>
>  Hi J|rgen,
>
>If you go with variable parameters check out the 'With Recompile' option.
>It forces a new execution plan each time the procedure is run and overcomes
>SQL's 'parameter sniffing' problem.
>
>cheers
>
>Michael Maddison
>
>DDI Solutions Pty Ltd
>michael at ddisolutions.com.au
>Bus: 0260400620
>Mob: 0412620497
>www.ddisolutions.com.au






More information about the AccessD mailing list