SQL*Plus Unusual Behavior When Using "\" In Parameter

(Doc ID 1467115.1)

Last updated on JULY 18, 2012

Applies to:

SQL*Plus - Version to [Release Oracle10g to 11.2]
Information in this document applies to any platform.


Calling a query in SQL*Plus with different parameters shows different results. For example, consider the below example:

1. Create a simple script file test.sql under C:\mydir with the following content:

Note: There is a Double quote at the end of the value p4 in the output.

The expected output is without the Double Quote after the value p4.


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