Error ORA-00933 Creating DB Link With Special Characters

Today I get the next error executing a create database link commandd;

ORA-00933: SQL command not properly ended

The syntax is show below

create database link unodos connect to Stevy identified by Pa**word using ‘remotedb.worl.es’;

In this case, the pass have special characters (two asterisks) and Oracle thinks it is sql syntax, you need specify it like string, you can this by user quotes like in the next sample;

create database link unodos connect to Stevy identified by “Pa**word” using ‘remotedb.worl.es’;

 

HTH – Antonio NAVARRO

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s