Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Lack of support for logical variables
On Sun, 29 Jan 2006 07:46:58 +0330, "Michael Cello"
<mike1210000_at_yahoo.com> wrote:
>Thank you for your response. By logical variable, I mean a field with 'true'
>and 'false' contents. Our existing programs use logical variables and my
>efforts are to translate these programs to be used with Oracle without
>having to re-write the whole system due to the bulk volume of programs.
>Please advise.
>
They don't exist in SQL, but do exist in PL/SQL. The convention is to use VARCHAR2(1) columns which are either 'Y' or 'N'.
-- Sybrand Bakker, Senior Oracle DBAReceived on Sat Jan 28 2006 - 23:59:08 CST