SQL and the "WITH UR" clause

I need to know this for clarity sake.

On another thread, an expert posted that I should use the "WITH UR" clause in my select statement

Where UR equals Uncommitted Read

(Note this was from an issue stating that my SELECT SUM(BAL) FROM ACCT" was not issuing the correct summation, so there may be uncommitted  records within the table.

My question is:  Will the following command work in BOTH the CLP and the JDBC cclient connection.


Open in new window

 In other words will the JDBC client connection be able to see the unread records as well as the CLP with this command ?  (I would think there is a possiblitliy that the CLP could see the unread, but not the JDBC, but I really dont know how this works)

Anthony LuciaAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Both will process it exactly the same

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Tomas Helgi JohannssonCommented:

I did not suggest you always use  "with ur". Please make sure you understand what that means.
Reading uncommited data means that your program reads data that is in the process of being changed. If another program (session) is changing data that another reads and then the change is rolled back due to some reason, then the session reading the data will have read wrong status of the data.


     Tomas Helgi
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.