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!
In Unix shell script, I can pass a sql query result back to Unix shell variable as below: var1=$(sqlplus -s / as sysdba << EOF select count(*) from dba_objects; EOF )
How to do this in Windows batch script ?