Database Install/Upgrade/Opatch (MOSC)

MOSC Banner

batch file

edited Sep 6, 2009 11:55PM in Database Install/Upgrade/Opatch (MOSC) 2 commentsAnswered
 Hi,

It's possible create a file when i run this statement in sqlplus or worksheet?
In addition to running need to specify the parameter path?
How?!

it's my file Tab_espace.sql:


CREATE TABLESPACE user_index
DATAFILE
%MyPath%\ORADATA\XE\IDX.DBF' SIZE 1024 M
AUTOEXTEND ON NEXT 100 M MAXSIZE UNLIMITED;

My batch file:

I can create batch file:
...
sqlplus -S %userp%/%passp%@%conp% @Tab_espace.sql %MyPath%

How do i do pass parameter to file tab_espace.sql?

Regards

Jomar

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