Database Administration (MOSC)

MOSC Banner

catcon.pl run multiple statements in 12c

edited Sep 5, 2015 10:00AM in Database Administration (MOSC) 2 commentsAnswered

Hi experts,

In 12c, Oracle provides a Perl utility called "catcon.pl" to run sql statement in containers. But I only find the example to run one sql statement (detail in the oradoc listed below). Is there a way to use catcon.pl to run multiple sql statements? I do know that I can run catcon.pl with a sql script that contains multiple sql statements. But what I'm seeking for is to run multiple sql statements not sql script since I want to avoid to create files in local filesystem.

http://docs.oracle.com/database/121/ADMIN/cdb_admin.htm#ADMIN13661

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