Parameterized Queries for Oracle DB Connections
Parameterized Queries for Oracle DB Connections
Comments
-
Hi Betsy, Oracle DB connections in Decisions are slightly different from the usual MSSQL connections. Instead of using @ to indicate a parameter, try using a colon ( : ). This difference for parameters is due to the fact that C# uses different characters in its syntax for referencing variables for LINQ queries to different kinds of databases. For MSSQL DB connections, that symbol is @, and for OracleDB connections it is :. So your defined query would look like this:
update (myTable)
set colB = :B
where colA = :A
[i]edited by james.hartzell@decisions.com on 12/2/2019[/i]
Howdy, Stranger!
Categories
- 2.1K All Categories
- 18 General
- 155 Installation / Setup
- 991 Flows
- 86 Rules
- 203 Administration
- 204 Portal
- 433 General Q & A
- 600 Forms
- 282 Reports
- 3 Designer Extensions
- 38 Example Flows
- 32 CSS Examples
- 1 Diagram Tile
- 5 Javascript Controls
- 139 Pages
- 1 Process Mining
- New Features
- 150 Datastructures
- 50 Repository
- 169 Integrations
- 25 Multi-Tenant
- 21 SDK
- 40 Modules
- 38 Settings
- 20 Active Directory
- 12 Version 7
- 34 Version 8