I am doing a simple insert through .bat file. But It’s not executing the second statement.
sqlplus scott/tiger
insert into dept values (60, 'Support', 'Redwood');
How can I run the second statement? I must be missing something.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Assuming your columns are correct for insertion
Here is what I would do.
Then in your “yourSqlScript.sql”, you have