Hi All,
I am new to this Oracle9i. Sql file: test.sql
Can anyone tell me how can I run the sql script (test.sql)from command line without suppling the username/password and connect string.
My sql script:
test.sql
--------
select username from user_users;
My shell script:
test.sh
-------
sqlplus -s / <<!!
@/home/testing/test.sql
!!
Thanks in advance for your kind help.
RM
I am new to this Oracle9i. Sql file: test.sql
Can anyone tell me how can I run the sql script (test.sql)from command line without suppling the username/password and connect string.
My sql script:
test.sql
--------
select username from user_users;
My shell script:
test.sh
-------
sqlplus -s / <<!!
@/home/testing/test.sql
!!
Thanks in advance for your kind help.
RM