![]() |
|
Archives of the TeradataForumMessage Posted: Fri, 16 Mar 2012 @ 08:52:44 GMT
Dear all, Please look at the below mentioned issue, i) What is the difference between locking table with views and without locking table with views?
REPLACE VIEW SUPPORTDB.VIEW_TEST_WITHLOCK
AS
LOCKING TABLE SUPPORTDB.LOCK_TEST FOR ACCESS
SELECT * FROM SUPPORTDB.LOCK_TEST;
REPLACE VIEW SUPPORTDB.VIEW_TEST_WITHOUTLOCK
AS SELECT * FROM SUPPORTDB.LOCK_TEST_2;
ii) I would like to apply the lock to particular table so no one can be accessed? Thanks & Regards, Mahesh Kothapalli
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||