Re: ADO Shape and Subqueries
From: Stephen Howe (stephenPOINThoweATtns-globalPOINTcom)
Date: 02/18/05
- Next message: James: "infinite shape clause?"
- Previous message: Mark: "ADO Shape and Subqueries"
- In reply to: Mark: "ADO Shape and Subqueries"
- Next in thread: James: "Re: ADO Shape and Subqueries"
- Reply: James: "Re: ADO Shape and Subqueries"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 18 Feb 2005 20:51:03 -0000
> However, when I try the subquery, I get an 'unexpected error'
> when I execute it in code (VB6).
Is this subquery executing at the same time as the query is?
If so, I believe you cannot have 2 server-sided, forwardonly, readonly
cursors working off the same connection at the same time. Change the cursor
properties for one and all will be well.
> If I take the same code and put it in Query
> Analyzer (stripping away the shape related items - they don't work under
> Query Analyzer), it works just fine.
Yes but you are not doing the 2nd query while the 1st has not finished
executing in QA.
You are doing them sequentially in QA, one after the other, and that is the
difference.
I could be mistaken but I believe this is true.
Stephen Howe
- Next message: James: "infinite shape clause?"
- Previous message: Mark: "ADO Shape and Subqueries"
- In reply to: Mark: "ADO Shape and Subqueries"
- Next in thread: James: "Re: ADO Shape and Subqueries"
- Reply: James: "Re: ADO Shape and Subqueries"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|