Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JDBC CallableStatement syntax:

Nick Widelec
Ranch Hand
Posts: 226
Eclipse IDE Firefox Browser Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI everybody,

Referring to the CallableStatement at a certain point this oracle java tutorial says:

Can the formal parameter be assigned a value in the stored procedure?

referring to the CallableStatement they say:

Formal parameter cannot be used in an expression; must be assigned a value.

After assigned a value can be used within the prepared statement itself in an expression right?
They just mean it cannot be used in an expression before assigning it a value.. am I right?

Thanks in advance.

Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!