UniDAC with Oracle Unicode Problem
Posted: Thu 23 Dec 2010 23:44
I am trying to use UniDAC to update a Unicode Oracle database (character set: AL32UTF8
I try these 3 and nothing will update a NVARCHAR2 field correctly - it shows as ????? after the post.
UPDATE UNICODETEST SET FULL_NAME = 'ΕΖΗΘΙΚΛΜΝΞΟβγδεζηθικλμ' WHERE KEY_FIELD = 'RECORD1'
or this: UPDATE UNICODETEST SET FULL_NAME = UNISTR('ΕΖΗΘΙΚΛΜΝΞΟβγδεζηθικλμ') WHERE KEY_FIELD = 'RECORD1'
or this: UPDATE UNICODETEST SET FULL_NAME = N'ΕΖΗΘΙΚΛΜΝΞΟβγδεζηθικλμ' WHERE KEY_FIELD = 'RECORD1'
Any ideas? This problem does not occur with ODAC.
Thanks,
Rhett
I try these 3 and nothing will update a NVARCHAR2 field correctly - it shows as ????? after the post.
UPDATE UNICODETEST SET FULL_NAME = 'ΕΖΗΘΙΚΛΜΝΞΟβγδεζηθικλμ' WHERE KEY_FIELD = 'RECORD1'
or this: UPDATE UNICODETEST SET FULL_NAME = UNISTR('ΕΖΗΘΙΚΛΜΝΞΟβγδεζηθικλμ') WHERE KEY_FIELD = 'RECORD1'
or this: UPDATE UNICODETEST SET FULL_NAME = N'ΕΖΗΘΙΚΛΜΝΞΟβγδεζηθικλμ' WHERE KEY_FIELD = 'RECORD1'
Any ideas? This problem does not occur with ODAC.
Thanks,
Rhett