SP2-0310 SQL*Plus Does Not Ignore Quoted '@' Character
(Doc ID 746513.1)
Last updated on FEBRUARY 03, 2019
Applies to:SQL*Plus - Version: 10.2.0.3
This problem can occur on any platform.
When trying to INSERT or UPDATE a table with SQL where the first character on a new line is the '@' character (within quotes), SQL*Plus ignores this character as a value and instead tries to execute a file.
SQL> insert into dept values (67, 'Support', 'abc
SP2-0310: unable to open file "def).sql"
This problem only occurs if the '@' character is the first character on a new line. If the character is placed anywhere else, then the error does not occur.
SQL> insert into dept values (67, 'Support', 'abc@
1 row created.
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