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

Stored procedure help...

Status
Not open for further replies.

E3

IS-IT--Management
Feb 19, 2002
16
SG
Itemid Sellername
----------- -----------
1 Sandy
2 Sandy


Bidid Buyerid Buyername Itemid
----------- ----------- ------------ -----------
1 1 Mark 1


How do I write the sql statements to pass the the itemid 1 and 2 to bids so I can delete the related data from bids table given "Sandy"

Is there a loop that i can write in stored procedures or something?
I believe I read something on store procedures calling stored procedures, isit the one that can solve my prbs?
 
The problem is when I select the IDS for Sandy, what it returns is a collection. How do I pass each of the values to the delete sql?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top