Is it possible to specify parameter Bind in SQL Server?

Asked 1 months ago, Updated 1 months ago, 5 views

We are developing a database operation program at C#.
Oracle sets OracleCommand's BindByName to true to
by parameter naming I think it is possible to set parameters, but is there an option like this in SQL Server?
In the case of SQL Server, I would like to know if it is possible to set parameters by specifying parameter names.

c# sql-server oracle

2022-09-30 11:44

1 Answers

Using Placeholders with Parameters, as explained in

  • SqlCommand=@parameter
  • OleDbCommand=?
  • OdbcCommand=?
  • OracleCommand=:parameter

will be


2022-09-30 11:44

If you have any answers or tips


© 2022 OneMinuteCode. All rights reserved.