ctigeek / InvokeQueryPowershellModule

A Powershell module of Cmdlets for querying most types of databases.
https://www.powershellgallery.com/packages/InvokeQuery
MIT License
58 stars 10 forks source link

Enable OracleCommand.BindByName #9

Closed diontools closed 3 years ago

diontools commented 6 years ago

OracleCommand.BindByName is false by default. The following commands will not fail.

# invalid parameter names and order
Invoke-OracleQuery -Sql "SELECT * FROM DUAL WHERE Dummy = :bbb OR Dummy = :aaa" -Parameters @{a='a';x='b'}