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 |
|
fizgig
Starting Member
34 Posts |
Posted - 2002-01-15 : 04:26:43
|
| Query analyzer gives me the result, when executed in a asp webpage itreturns an error. Got an idea why?Got this error message :"Could not complete cursor operation because the table schema changedafter the cursor was declared."Query :SELECT o.*, status = (SELECT order_status FROM order_status WHERE id =o.order_status), totaal = (SELECT SUM(price_wholesale * amount) FROMorder_item WHERE orderID = o.id) FROM [order] AS o WHERE dealer = 4AND o.order_status <> 1 ORDER BY created DESCEdited by - fizgig on 01/15/2002 05:12:17 |
|
|
fizgig
Starting Member
34 Posts |
Posted - 2002-01-15 : 10:31:29
|
| I solved this one myself;All tables should be aliased. Then it worx just right! |
 |
|
|
|
|
|