Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
Database Servers
DB2InformixIngresMS SQLOraclePervasive.SQLPostgreSQLProgressSybase
Desktop Databases
FileMakerFoxProMS AccessParadox
General
General DB TopicsDatabase Theory
Related Topics
Java Development.NET DevelopmentVB DevelopmentMore Topics ...

Database Forum / DB2 Topics / January 2006

Tip: Looking for answers? Try searching our database.

with UR is not recognised in DB2

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
seeknew - 18 Jan 2006 09:30 GMT
Hi All,

We are using DB2 UDB version 7 as the database for our project. This is
installed on windows environment. The actual prod environment is DB2 on
mainframe.

When we execute simple select queries on our local database with
"with ur" (Uncommitted read isolation level) option we are getting
the following error message.

db2 => select * from altn_type_mstr with ur

SQL0104N  An unexpected token "ur" was found following "altn_type_mstr
with".Expected tokens may include:  "END-OF-STATEMENT".  SQLSTATE=42601

DB2 is not able to recognize with ur option at all.

The same statement is running fine on prod environment.

I think we have missed something while installing or configuring the
server or the database. Can any one help us in resolving this issue?

Thanks in advance.
Srini
Serge Rielau - 18 Jan 2006 10:59 GMT
> Hi All,
>
[quoted text clipped - 17 lines]
> I think we have missed something while installing or configuring the
> server or the database. Can any one help us in resolving this issue?
yes, you missed upgrading to V8 (may be V7.2 is enough, I don't
remember). What are you doing on V7 anyway with this dev system?

Cheers
Serge
Signature

Serge Rielau
DB2 Solutions Development
DB2 UDB for Linux, Unix, Windows
IBM Toronto Lab

Knut Stolze - 18 Jan 2006 11:06 GMT
> yes, you missed upgrading to V8 (may be V7.2 is enough, I don't
> remember). What are you doing on V7 anyway with this dev system?

V7.2 did support it according to the SQL Reference.

Signature

Knut Stolze
DB2 Information Integration Development
IBM Germany

Pierre Saint-Jacques - 18 Jan 2006 18:28 GMT
I think that the clause needs brcakets as in:  with (UR)
Maybe????
HTH,  Pierre.

Signature

Pierre Saint-Jacques
SES Consultants Inc.
514-737-4515

>
>> yes, you missed upgrading to V8 (may be V7.2 is enough, I don't
>> remember). What are you doing on V7 anyway with this dev system?
>
> V7.2 did support it according to the SQL Reference.
Knut Stolze - 19 Jan 2006 12:40 GMT
> I think that the clause needs brcakets as in:  with (UR)
> Maybe????

No, no brackets/parenthesis are needed.  Apparently the functionality is
simply not there.  But that's hard to tell because the OP didn't give us
any information which version and fixpak he is using (besides V7, that is).

Signature

Knut Stolze
DB2 Information Integration Development
IBM Germany

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.