ORA-00922 When Creating Shared Database Link (Doc ID 864323.1)

Last updated on MARCH 18, 2011

Applies to:

Oracle Net Services - Version: 8.1.7.0 to 11.2.0.0 - Release: 8.1.7 to 11.2
Information in this document applies to any platform.

Symptoms

When attempting to create shared database link the following error occurs.

SQL> create shared database link Link_name connect to user identified by password using 'tnsnames_alias';

create shared database link Link_name connect to user identified by password using 'tnsnames_alias'
                                                                             *
ERROR at line 1:
ORA-00922: missing or invalid option

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