Board index » delphi » Problem reading MSSQL 7.0 varchar column when size > 255
john becke
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Problem reading MSSQL 7.0 varchar column when size > 255
Hi All;
I have an MSSQL 7.0 Table defined with a varchar column (AField) declared An update SQL via a TQuery executes correctly and it includes the following VarcharUpdate.ParamByname('FieldValue').Assign(aStringList); Strangely, the param 'FieldValue' is declared is declared as a varbyte type, When an SQL Select on the varchar field is executed, the maximum number of The SQL statement is "Select AField from NoBlob Delphi 4 does not allow the following statements: aStringList.Assign('VarcharQuery.FieldByName'(AField')); or These only retrieve 255 bytes: aStringList.Text:='VarcharQuery.FieldByName'(AField').Value; or Does anyone know how to retrieve the 400 chars? Ta -John |