Search found 3 matches

by Indra Rai
28 May 2014 03:22
Forum: DOS Batch Forum
Topic: How to write batch file for sqlplus
Replies: 4
Views: 9792

Re: How to write batch file for sqlplus

Thank you very much both of you. It works.
by Indra Rai
27 May 2014 04:50
Forum: DOS Batch Forum
Topic: How to write batch file for sqlplus
Replies: 4
Views: 9792

How to write batch file for sqlplus

Dear All,

I have tried to make dos batch file for sqlplus program.

sqlplus / as sysdba;
update
UPDATE
MyTable
SET MyColumn ='Y'
WHERE MyColumn ='N';
COMMIT;


But, when I run bath file only sql prompt will appear (SQL>) rest of the command will not functionning..
by Indra Rai
27 May 2014 04:33
Forum: DOS Batch Forum
Topic: How to write batch file for sqlplus
Replies: 4
Views: 9792

How to write batch file for sqlplus

Dear All,

I have to create a batch file containing following syntax. How can I create batch file. Please help.

sqlplus / as sysdba;
sql> update
sql> MyTable
sql> SET MyColumn ='Y'
sql> WHERE MyColumn ='N';
sql> COMMIT;