Prepared and Callable statement is always use sp_executesql #2891
vijayarajav
started this conversation in
General
Replies: 1 comment 1 reply
-
|
@vijayarajav you could use Statement to execute if there are not parameter bindings to do |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The Microsoft SQL Server JDBC driver always uses sp_executesql internally for both PreparedStatement and CallableStatement objects. whereas dotnet SqlCommand - CommandType.StoredProcedure uses direct sql and CommandType.Text uses sp_executesql. do we have similar option in JDBC?
Beta Was this translation helpful? Give feedback.
All reactions