varchar(32000) and zeosdbo

Forum related to version 6.5.1 (alpha) and 6.6.x (beta) of ZeosLib's DBOs

Moderators: gto, cipto_kh, EgonHugeist

Post Reply
barko
Senior Boarder
Senior Boarder
Posts: 51
Joined: 07.09.2005, 13:13

varchar(32000) and zeosdbo

Post by barko »

is there any workaround for bug (can't read varchars larger than 255 chars with fpc + lazarus on linux with firebird 1.5.2)?

is there a way for converting varchar(32000) to blob field without loosing data (on the fly)...

is maybe this solution? i have huge project converted from kylix to lazarus and now i have problem with reading varchar larger than 255 chars...
User avatar
fduenas
Zeos Dev Team
Zeos Dev Team
Posts: 132
Joined: 26.08.2005, 08:12
Location: Cancún

Post by fduenas »

Add a new 'large text' field type to the table and then execute this SQL: 'Update table MyNewField := MyOldVarCharField;'
barko
Senior Boarder
Senior Boarder
Posts: 51
Joined: 07.09.2005, 13:13

Post by barko »

thanks for the tip, works like charm...

Code: Select all

update table set mynewfield = myoldfield;
:) thanks again
Post Reply