My Oracle Support Banner

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

Last updated on FEBRUARY 12, 2020

Applies to:

Oracle Net Services - Version 8.1.7.0 to 12.1.0.2 [Release 8.1.7 to 12.1]
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

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.