my dog learned polymorphism*
The moose likes Oracle/OAS and the fly likes Please help!  Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Oracle/OAS
Bookmark "Please help!  "Wrong number or types of arguments in call to Watch "Please help!  "Wrong number or types of arguments in call to New topic
Author

Please help! "Wrong number or types of arguments in call to 'PUT-LINE'

Bobi Smith
Greenhorn

Joined: Sep 15, 2009
Posts: 2
Please help! I'm trying to print the records (instructor id, last name and first name) in my array, but keep getting the above error. I am very new to PL/SQL coding. The code compiles without the "for loop". Any and all help is greatly appreciated.

Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

Please check your private messages for an important administrative matter. Thank you.


[My Blog]
All roads lead to JavaRanch
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

Are you sure you can pass a ROWTYPE to the PUT_LINE procedure ?
What about the following ?
Bobi Smith
Greenhorn

Joined: Sep 15, 2009
Posts: 2
That did it! Thank you soooooooo much.
 
Don't get me started about those stupid light bulbs.
 
subject: Please help! "Wrong number or types of arguments in call to 'PUT-LINE'