Quantcast
Channel: Teradata Forums - Database
Viewing all articles
Browse latest Browse all 14773

TD Lock Upgrade and Downgrade Options - response (4) by dnoeth

$
0
0

Hi Santanu,
there's no automatic downgrade. When you request a READ lock you get a READ lock, the session will be blocked until the other session commits.
You can check if the request will be blocked using:

LOCK TABLE tab READ NOWAIT;
.IF ERRORCODE = 7423 THEN ...

 


Viewing all articles
Browse latest Browse all 14773

Trending Articles



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