codrgi Posted April 23, 2009 Share Posted April 23, 2009 i want to exec a stored procedure with the parameter thats inside a table somewhere, say i do this select @col = column from table exec storedprocedure @col i want it to do the stored precedure for the whole table finding the parameter itself by using the select statement, not just the last row it finds, as when i do this it only does it for just one row, how do i go about doing this for each row it finds, that i ask it to select? Link to comment https://forums.phpfreaks.com/topic/155306-how-to-do-this/ Share on other sites More sharing options...
fenway Posted April 23, 2009 Share Posted April 23, 2009 It doesn't matter where the parameter comes from... you need to pass it and sent to the SP. Link to comment https://forums.phpfreaks.com/topic/155306-how-to-do-this/#findComment-817427 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.