Posted: Mon Nov 24, 2003 2:22 am Post subject: WMQI - Access Sybase using Stopred Proc
Newbie
Joined: 20 Nov 2003 Posts: 3
We have occasionally used Stored Procs to return data from Sybase tables, via the PASSTHRU command.
However, I have now written a slightly more complicated Stored Proc which inserts a temporary table before retrieving and updating some data, subsequently passing results to the flow.
When I try to execute this SP from the PASSTHRU though I get the following error:
Native Error Code '2762'. The 'CREATE TABLE' command is not allowed within a multi-statement transaction in the 'tempdb' database.
Searching through the Sybase books it seems there are commands which are never allowed in multi-statement transactions, such as "create" and "select into"...(it works with SQL server...)
Is there any way I can call this SP from WMQI to put this through? (maybe an alternative to PASSTHRU?)
Tks!
WMQI only supports calling of Sybase SP's in 5.0 and above, except via passthru _________________ MGK
The postings I make on this site are my own and don't necessarily represent IBM's positions, strategies or opinions.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum