Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2004
    Posts
    6

    Cool Unanswered: Use of Boolean datatype.

    CAn somebody show me a example of checking the value of a boolean variable in my pl/sql procedure.

    thanks.

  2. #2
    Join Date
    Jan 2004
    Location
    North Haven, CT
    Posts
    110

    Re: Use of Boolean datatype.

    Originally posted by JCMehta
    CAn somebody show me a example of checking the value of a boolean variable in my pl/sql procedure.

    thanks.
    function check_boolean(p_boolean in boolean) return varchar2
    begin
    if p_boolean then
    return 'TRUE';
    else
    return 'FALSE';
    end if;
    end;

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •