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
Science,
6 months ago
Accountancy,
6 months ago
English,
6 months ago
Computer Science,
11 months ago
Computer Science,
11 months ago