My Oracle Support Banner

SQL*Plus Unusual Behavior When Using "\" In Parameter (Doc ID 1467115.1)

Last updated on FEBRUARY 27, 2019

Applies to:

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

Symptoms

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.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.