Всем привет! Очень нужна помощь.
Есть FDConnection, работающий с Oracle, у которого в настройках CharacterSet выставлено AMERICAN_AMERICA.CL8MSWIN1251.
На простом запросе
with
c as(
select 'GREEN' as color1, 'WHITE' as ColorText1, null as Field1, 1 as ColorParam from dual union all
select 'YELLOW' as color2, 'BLACK' as ColorText2, null as Field2, 2 as ColorParam from dual union all
select 'GRAY' as color4, 'WHITE' as ColorText4, null as Field4, 0 as ColorParam from dual union all
select 'WHITE' as color3, 'BLACK' as ColorText3, null as Field3, 3 as ColorParam from dual
)
select
Color1, ColorText1, Field1, ColorParam
from c
выдает ошибку
ERROR: [FireDAC][DatS]-32. Variable length column [COLORTEXT1] overflow. Value length - [6], column maximum length - [5]
Подобные темы на форуме были,
вроде этой, но там речь шла о старых версиях Delphi. У меня Delphi 10.3.2.
Кто нибудь знает как решается эта проблема? (смену кодировки не предлагать, оно должно быть AMERICAN_AMERICA.CL8MSWIN1251).