On 2009-03-23, Zdravko Balorda <zdravko.balorda@siix.com> wrote:
>
> Hi,
> I need a casting operator from boolean to integer,
you can use any expression....
> tu put in ALTER TABLE statment after USING.
>
> Any ideas? Thanks.
CASE WHEN columname THEN 1 WHEN NOT columname THEN 0 ELSE NULL END