ORA-2063 WITH LOCK TABLE OVER DB LINK FROM 11G TO 10G (Doc ID 1191876.1)

Last updated on AUGUST 26, 2015

Applies to:

Oracle Database - Enterprise Edition - Version 11.1.0.6 to 11.2.0.1 [Release 11.1 to 11.2]
Information in this document applies to any platform.
***Checked for relevance on 14-MAR-2012**


Symptoms

There exists a database link from 11.1.0.7 to 10.2.0.1 database. Normal select from a 11g database, of objects in 10g database using database link works fine.
While trying to LOCK table over , statement errors out. at a parse phase with the following:

 

ERROR at line 1:
ORA-933: SQL command not properly ended
ORA-2063: preceding line from <dblink name>
Sytax used for locking is:
SQL> LOCK TABLE <tablename>@<dblink> IN EXCLUSIVE MODE;

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms