Database Networking (MOSC)

MOSC Banner

Lock Table in Remote Database does not work

edited Nov 25, 2010 3:00AM in Database Networking (MOSC) 5 commentsAnswered
Hi all
I should lock a table over a database link in a remote database. If the origin is Oracle 10.1 and the remote Oracle 11.2 SE1, it works perfectly. In the other direction (Oracle 11.2/11.1 Standard Edition One -> Oracle 10.1), I get the following error:
lock table tableowner.tablename@dblinkname in share row exclusive mode;
*
ERROR in line 1:
ORA-00933: SQL command not properly ended
ORA-02063: preceding line from tableowner.tablename@dblinkname
DML commands like INSERT, UPDATE or DELETE are possible without problem. And because there's no difference in the syntax, the error message is not really helpful to me...

Does anyone have an idea?

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

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

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center