Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Returning record sets with a procedure?

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
What is the best way to return record sets from a calling application, without using an ad hoc sql statement?

I know that I can execute a sql select statement from my calling application and have a record set returned. However, I was trying to put my 'select' statement in a procedure and just call the procedure name with the input parameters. However, I was not able to compile the procedure with just a select statement, the show errors insisted the use of 'select into'.

How do I use a procedure to return a record set? Should I be using a procedure?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top