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

Thread: PLS-00306 Error

  1. #1
    Join Date
    Sep 2000
    Location
    VA
    Posts
    343

    Hi all,

    I get the error
    Line # = 19 Column # = 24 Error Text = PLS-00306: wrong number or types of arguments in call to '||'
    Line # = 20 Column # = 9 Error Text = PLS-00306: wrong number or types of arguments in call to 'INSTR'

    where my line 19 & 20 are is
    dbms_output.put_line('router = ' || router);
    a := instr(router,'-');

    I have used these commands hundreds of times before, but have never seen this. Does anyone know what might be causing this error ??

    Shiva.

  2. #2
    Join Date
    Dec 2000
    Location
    Ljubljana, Slovenia
    Posts
    4,439
    What datatype is "router"?
    Jurij Modic
    ASCII a stupid question, get a stupid ANSI
    24 hours in a day .... 24 beer in a case .... coincidence?

  3. #3
    Join Date
    Sep 2000
    Location
    VA
    Posts
    343

    Thanks for pointing out the error. 'Router' was of numeric dataype.
    Now it works fine.

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