To continue reading for free, register below or login
To read more you must become a member of SearchOracle.com
');
// -->

Normally, one does not create database objects inside stored procedures. But on the rare occasion that you do have this requirement, you can use the EXECUTE IMMEDIATE command to run the CREATE DATABASE LINK command similar to the following:
BEGIN
EXEC IMMED 'create database link db_link connect to foo identified by bar using ''tns_entry''';
END;
/
|