Posted: Mon Feb 25, 2008 2:36 pm Post subject: SELECT (sql) statement query
Centurion
Joined: 21 Nov 2002 Posts: 117 Location: USA
The Env:
Broker 6.0.2 on Windows
The Database is DB2 7.2.6
Is it possible to use the database isolation levels with the regular database SELECT statement [b](please note not using PASSTHRU)[/b].
For example: SELECT *.....WITH UR
I have tried using these options but does not seem to work, nor did I find any documentation pointing to it.
Further to this...
How does the SELECT query work internally in broker (does it follow the logic of the underlying database), does it hold any locks.
[quote="jefflowrey"]I did not believe that DB2 v7 was supported with Broker v6.[/quote]
Though the Supported Database lists DB2 v8.2 as the minimum requirement, broker v6 works fine with DB2 v7.2.
In my original post i was trying to indicate (my bad in conveying) the fact that i was trying to access DB2 v 7.2.6 table in my Compute node.
[quote="AkankshA"][quote="Hari"]
SELECT *.....WITH UR
[/quote]
Select * never worked for me too...
Anyways i always feel its better to fetch only what is required and not just whatever i can....[/quote]
Akanksha what i am talking is the database isolation level i.e. "WITH UR" component.
By the way i have used "SELECT *" without a hitch in my msg flows (of course without the database isolation levels).
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