Last updated on OCTOBER 28, 2016
Applies to:SQL*Plus - Version: 126.96.36.199
This problem can occur on any platform.
Running a SQL script from a sqlplus prompt, displays the actual output along with the SQL statements that produced the desired output in the output file.
Running the same script from a .cmd file does not show the SQL statements. It shows only the actual output.
How to display the select statement along with the results in the output file when running the script
from a .cmd file ?
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms