How to use option TRIM CHAR?
Posted: Mon 03 Jan 2005 14:38
I'm using version 1.86 of dbExpress driver with C++ Builder 6.
I read in the revision history that an option to automatically trim trailing chars from CHAR fields is supported. However, I couldn't find any help on how to use thi option. I tried, before connecting, both of these:
sqlConnection->Params->Add("TRIM CHAR=1");
sqlConnection->Params->Add("TRIM CHAR=true");
However, none have worked.
I did also read, in README, about a SetOption() method in TSQLConnection. However, at least in C++, I wasn't able to find any method, oon TSQLCOnnection, named SetOption().
Thanks in advance for any help.
I read in the revision history that an option to automatically trim trailing chars from CHAR fields is supported. However, I couldn't find any help on how to use thi option. I tried, before connecting, both of these:
sqlConnection->Params->Add("TRIM CHAR=1");
sqlConnection->Params->Add("TRIM CHAR=true");
However, none have worked.
I did also read, in README, about a SetOption() method in TSQLConnection. However, at least in C++, I wasn't able to find any method, oon TSQLCOnnection, named SetOption().
Thanks in advance for any help.