On Sunday 19 January 2003 14:58, Ingo Wichmann wrote:
> Hi!
>
> i get an error when i try to save the value 1 in an boolean column. Here
>
(...)
>
> Do i have to convert 1 into "t"?

You have to explicitly convert it into datatype BOOLEAN.
Doing something like
 qq/'$my_boolean'::BOOL/ 
(where $my_boolean is a scalar containing either 0 or 1) should work.
Note qq/${my_boolean}::BOOL/ will not work.

Ian Barwick
[EMAIL PROTECTED]

Reply via email to