My Oracle Support Banner

How to Detect Carriage Returns in a Varchar2 Column (Doc ID 1083263.6)

Last updated on JANUARY 18, 2024

Applies to:

SQL*Plus - Version 8.0.6.0 and later
Oracle Database - Standard Edition - Version 8.0.6.0 and later
Oracle Database Backup Service - Version N/A and later
Oracle Database Cloud Service - Version N/A and later
Oracle Database Cloud Schema Service - Version N/A and later
Information in this document applies to any platform.

Goal

Suppose one of the records has a 'carriage return' in between a string. How to detect it? 

Example: col1 has  'string1'||carriage return||'string2'.

 

Solution

To view full details, 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 a vibrant support community of peers and Oracle experts.