Quantcast
Channel: SCN: Message List - SAP Adaptive Server Enterprise (SAP ASE) for Custom Applications
Viewing all articles
Browse latest Browse all 3587

Re: set READ UNCOMMITED for a query with a table join (Ver 12.5. and 15.5)

$
0
0

Hi Arthur,

 

The "at isolation level" clause applies to the whole query and all the tables involved and so should come at the end of the query.

 

Individual tables can use different isolation levels within the query by using the holdlock, noholdlock and shared keywords after the table name. Some combinations of table level and query level locking make no logical sense though and will raise a warning or an error.

 

In your example you appear to just want a whole query to run at isolation level zero so you are correct to just put "at isolation 0" right at the end.

 

Cheers,

Andy Ashwood


Viewing all articles
Browse latest Browse all 3587

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>