troubleshooting Question

Save query generated from stored procedure to table?

Avatar of ullenulle
ullenulleFlag for United States of America asked on
Microsoft SQL Server
9 Comments1 Solution331 ViewsLast Modified:
Hi there.

I'm working on a stored procedure that makes a pivot table. I want to build into the stored procedure the option to save the result to a table only for this particular output. And the table must be flushed before a new query result from the stored procedure is generated.
Is that possible? Any example? :-)
It's the procedure in my other question here: 29073732/Convert-MS-Access-SQL-Pivot-code-to-MS-SQL-Server-code.html

Best regards

Ulrich
ASKER CERTIFIED SOLUTION
Mark Wills
Topic Advisor
Join our community to see this answer!
Unlock 1 Answer and 9 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 9 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros