• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Determine the Callable Statements Parameters at runtime

 
carina caoor
Ranch Hand
Posts: 300
Eclipse IDE Oracle Tomcat Server
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am executing oracle procedures through callable statements, The parameters are entered by the user like cutomerid , dates . As there are more than one procedure to get executed and each procedure has different set of parameters , where in some procedure date is the first parameter in second procedure date is the last parameter. therefore i created a comma separated string for the parameters entered by the user and directly passed it to the procedure. but the procedure do not get executed and throws out error. Can anybody suggest me how do i determine the type of parameter at runtime and pass it to the procedure.And Why i am not able to pass paramters directly to the procedure.

 
Jan Cumps
Bartender
Posts: 2577
11
C++ Linux Netbeans IDE
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'll tackle the error: The error is thrown because you do not wrap single quotes around your dates.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic