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

Thread: Lexical parameter in PL/SQL

  1. #1
    Join Date
    Apr 2001
    Posts
    7

    Unhappy

    How can I do lexical parameter in PL/SQL like :

    select :x,:y from emp;

    however we do that in SQL :

    select &x,&y from emp;

    The PL/SQL dose'nt consider x and y as filds just as string!!

    Please, help me to do that.

    thanks..

  2. #2
    Join Date
    Nov 2000
    Location
    greenwich.ct.us
    Posts
    9,092
    Jeff Hunter

  3. #3
    Join Date
    Apr 2001
    Posts
    7

    Exclamation

    Thanks,
    but I use Oracle 7.
    I can't use EXECUTE IMMIDATE

  4. #4
    Join Date
    Apr 2001
    Posts
    16

    Post

    You can use dynamic sql in your application using dbms_sql package.

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