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!

Run a script from batch file

936666Feb 1 2013 — edited Feb 1 2013
@test.SQL
connect &user/&pass
select sysdate from dual;
exit;
/ 
C:\>sqlplus /nolog @test.sql


SQL*Plus: Release 11.2.0.1.0 Production on Fri Feb 1 15:07:28 2013

Copyright (c) 1982, 2010, Oracle. All rights reserved.

Enter value for user: username
Enter value for pass: password
Connected.

SYSDATE
---------
01-FEB-13

i can see the password which is typed in command prompt i need to hide the password type how to do this

Thanks!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 1 2013
Added on Feb 1 2013
7 comments
2,116 views