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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

union stored procedure 1

Status
Not open for further replies.

joshuaguilty

Programmer
Apr 26, 2005
81
0
0
CA
I have a stored procedure accepting "Customer" as the input key and retrieves that Customer's data. Is it possible to produce several customer's info (depends on user's choice) in a loop ? Or how to UNION result of stored procedure other than putting the results in an extra table? Thnks.
 
I have another question IF you don't mind. If the passing parameters are table name like (eg abc, fff, a345 ..) corresponding to tables(eg tableabc, tablefff, tablea345 ...), then would the offered still work !? Thanks again.
 
I don't see why not. You can pass what you want, and how you use it is up to you.
 
joshuaguilty

Please read this: faq183-874

Particularly #16.

-George

"The great things about standards is that there are so many to choose from." - Fortune Cookie Wisdom
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top