Aternatively do it all in the database:
SELECT CASE WHEN column_name THEN 1 ELSE 0 END AS column_name FROM table ...
In reply to Re^2: Database abstraction including data types
by Anonymous Monk
in thread Database abstraction including data types
by mbethke
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |