Quantcast
Channel: Teradata Forums - Database
Viewing all articles
Browse latest Browse all 14773

Oreplace function throws error select failed.9134 - forum topic by M.M@TD

$
0
0

Hi,
I am trying to replace a special character with CRLF in Teradata table using OReplace func but somehow its not working and I am getting "Select Failed.9134" error.
The special Character may appear anywhere in the text.And the ColumnDatatype is generally text field  for eg: CLOB, VARCHAR(32000).
 
sel oreplace(CAST('MARY' AS VARCHAR(5)),'MA','0D0A'XC) from TEST_TABLE ------------------------- This works fine
 
sel oreplace(name,'MA','0D0A'XC) from TEST_TABLE -------------------------- This doesn’t work and below is the error message
9134:Unsupported CHaracterset encountered
 
Table definition:
CREATE SET TABLE TEST_TABLE ,NO FALLBACK ,
NO BEFORE JOURNAL,
NO AFTER JOURNAL,
CHECKSUM = DEFAULT,
DEFAULT MERGEBLOCKRATIO
(
TEST_txt VARCHAR(254) CHARACTER SET LATIN NOT CASESPECIFIC,
name VARCHAR(5) CHARACTER SET LATIN NOT CASESPECIFIC)
PRIMARY INDEX ( TEST_txt  );
 

Forums: 

Viewing all articles
Browse latest Browse all 14773

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>