My Oracle Support Banner

ODP.NET: ORA-1425 When Using Backslash As Escape Character In Select / Sql*Plus Works (Doc ID 1399875.1)

Last updated on JANUARY 25, 2012

Applies to:

Oracle Data Provider for .NET - Version: 9.2.0.1 and later   [Release: 9.2 and later ]
Information in this document applies to any platform.

Symptoms

Using ODP.NET in combination with nHibernate framework and performing SELECT containing

ESCAPE '\';

fails sometimes with

ORA-1425 escape character must be character string of length 1

Performing same query in SQL*Plus works without raising an error

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

This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.

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