Quantcast
Channel: Comments on: Designing a PL/SQL API – BOOLEAN or CHAR?
Browsing latest articles
Browse All 4 View Live

By: lukaseder

That’s really one of the unbelievable “features” of Oracle… Another drawback of the BOOLEAN type in Oracle: BOOLEAN function return values or OUT parameters cannot be transported via JDBC. That’s even...

View Article



By: Gary Myers

I tend to have both, with a PL/SQL function returning a boolean and a SQL-friendly one returning either YN or TF (with the function suffixed _YN or _TF). I once met a function that returned Y for Yes,...

View Article

By: Kevan Gelling

I go for YN (in a VARCHAR2) with some generic functions – toBoolean(), isTrue(), isFalse() – to convert them to BOOLEAN, if requried. One reason is the lack of BOOLEAN support in SQL but another is the...

View Article

By: Scott Wesley

I also like to overload, with the boolean function calling the varchar2 version – one less layer when including in SQL

View Article
Browsing latest articles
Browse All 4 View Live




Latest Images