Is it possible to specify parameter Bind in SQL Server?

Asked 2 years ago, Updated 2 years ago, 89 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


© 2024 OneMinuteCode. All rights reserved.