Advertisement

03.01.2005 at 12:06AM PST, ID: 21332780
[x]
Attachment Details

How to query the result of a stored procedure

Asked by auke_t in MS SQL Server

Tags: stored, query, procedure

Hey All,

I know it is possible to query a stored procedure (using the dataset it provides in further sql) after enabling a certain option on the server.
For example you can do something like (syntax is probably different):

select
      *
from
      sp_who
where
      loginame = 'sa'Start Free Trial
[+][-]03.01.2005 at 12:26AM PST, ID: 13427206

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: MS SQL Server
Tags: stored, query, procedure
Sign Up Now!
Solution Provided By: KarinLoos
Participating Experts: 4
Solution Grade: A
 
 
[+][-]03.01.2005 at 12:59AM PST, ID: 13427338

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.01.2005 at 01:04AM PST, ID: 13427346

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]03.01.2005 at 01:16AM PST, ID: 13427391

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.01.2005 at 04:10AM PST, ID: 13428260

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32