Can we call functions using Callable Statements? Explain with an example in JDBC?
Answers
Answered by
0
Example to call the function using JDBC. In this example, we are calling the sum4 function that receives two input and returns the sum of the given number. Here, we have used the registerOutParameter method of CallableStatement interface, that registers the output parameter with its corresponding type.
Similar questions
Math,
7 months ago
Computer Science,
1 year ago