Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Hiding password in a .bat file

572758May 2 2011 — edited May 3 2011
Stand alone .sql scripts are saved in a shared folder in the network (OS Windows)

How can I hide the password and call it from a .bat file which connects to Oracle Database and executes the script.sql

test.bat
--------------------------------------------------------
sqlplus login/password@database_name

@C:\sqlscript\script.sql

pause

--------------------------------------------------------

Thank you,
This post has been answered by unknown-791521 on May 2 2011
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 31 2011
Added on May 2 2011
6 comments
1,643 views