Complex SQL Stored Procedure in Access

I'll begin by saying I know how to run stored procedures in Access through VBA. However, these stored procedures are very simple SQL statements such as "SELECT * FROM ....etc"

My question is, is it possible to run FROM ACCESS a SQL stored procedure that is extremely complex?

By complex, i mean:
 1) having 4 parameters
 2) dropping/creating/inserting countless tables
 3) declaring/updating 10+ more dynamic parameters in the stored procedure
 4) calls on functions
 5) calls multiple other stored procedures
 6)  has many select statements

This stored procedure is complex and I want to make it easier by having an Access front end automation tool. How would anyone suggest going about doing this?
jansonoylerAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Vitor MontalvãoMSSQL Senior EngineerCommented:
Why are you affraid on doing that? The stored procedure will run on SQL Server not on Access. Access it's only a front end, ie the interface that trigger the execution of the SP but it will run in background on the SQL Server.
0
jansonoylerAuthor Commented:
I'm unsure how to grab the results I want after this complex stored procedure is run. It worries me because the procedure is so complex.

The final result spits out three tables when I run it normally in SQL.

How do I grab the results I want from each of these three tables?
0
PatHartmanCommented:
If the sp is creating persistent tables, just link to them or create a query that selects what you want from them and run that.  If the sp creates multiple recordsets in memory, I'm pretty sure you can read those also but I don't know how.  You'll have to wait for a different answer.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.