Hello MS Access Expert,
Are there any advantages to a Stored Procedures vs. a Dynamic SQL Pass Through Query based on a View?
Suppose I have a View and I need to include a user defined Parameter on the View from the MS Access Front End. I can create a Pass Through Query with a Where Clause on the View (Select * from myView Where x = y). If there are no Parameters I simply change the SQL to (Select * from myView). Is there any benefit if I were to recreate the above in a Stored Procedure instead of dynamically altering the Pass Through Query based on the View?
Thank you
Are there any advantages to a Stored Procedures vs. a Dynamic SQL Pass Through Query based on a View?
Suppose I have a View and I need to include a user defined Parameter on the View from the MS Access Front End. I can create a Pass Through Query with a Where Clause on the View (Select * from myView Where x = y). If there are no Parameters I simply change the SQL to (Select * from myView). Is there any benefit if I were to recreate the above in a Stored Procedure instead of dynamically altering the Pass Through Query based on the View?
Thank you