DBAsupport.com Forums - Powered by vBulletin
Results 1 to 2 of 2

Thread: Case in 8i

  1. #1
    Join Date
    Sep 2002
    Posts
    376

    Case in 8i

    Hi,
    Does "CASE" work in 8i (8.1.7)

    I have to test some sql queries in different database. Before starting,wanted to make sure whether case works in 8i or not.

    Right now i dont have access to 8i, to test the same.

    Thx

  2. #2
    Join Date
    Jul 2002
    Location
    Slovenia
    Posts
    42
    SQL WORKS BUT IN PL/SQL DOES NOT...

    WORKS IN 8
    SELECT CASE WHEN 1=1 THEN 1
    WHEN 2=2 THEN 2 END ena FROM dual;


    DOSENT WORKS IN 81 BUT IT WORKS IN 9...

    DECLARE
    x NUMBER;
    BEGIN
    SELECT CASE WHEN 1=1 THEN 1
    WHEN 2=2 THEN 2 END ena
    INTO x
    FROM dual;
    END;
    Andrej

Posting Permissions

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


Click Here to Expand Forum to Full Width