PL/SQL (MOSC)

MOSC Banner

How to insert '&' value in table columns.

in PL/SQL (MOSC) 9 commentsAnswered ✓

We have a custom table with a column of datatype VARCHAR2. When trying to insert a value containing an ampersand (&), such as 'ABC&123', we encounter an error because & is a reserved character in Oracle.

How can we insert such values into the table without encountering this error?

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center