Στις Monday 23 March 2009 09:59:12 ο/η Zdravko Balorda έγραψε:
> 
> Hi,
> I need a casting operator from boolean to integer,
> tu put in ALTER TABLE statment after USING.
> 

How about
CASE WHEN 't' THEN 1 ELSE 0 END

> Any ideas? Thanks.
> 
> Zdravko
> 
> 



-- 
Achilleas Mantzios

-- 
Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql

Reply via email to