Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
biogem
Starting Member
13 Posts |
Posted - 2009-10-06 : 12:03:48
|
| I need a stored procedure to grap the result set from one query and insert that into another query.select * from workorder where orderedbyname='Donald Frontera' or orderedbyname='Scott Biviano'SELECT * FROM dbo.vwWorkorderPuchaseOrders WHERE ORDERID = 23546Once the first query runs, it provide the workorder number for the second query to use. It think a sp will do this for me?Thanks. |
|
|
X002548
Not Just a Number
15586 Posts |
|
|
|
|
|