Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

Application Server

SetBitParameterByIndex()

  • Last UpdatedOct 13, 2022
  • 1 minute read

Use the SetBitParameterByIndex() method to configure a bit parameter as encoded into the text of an OLEDB SQL statement.

Syntax

result SetBitParameterByIndex (
int Index,
object ParameterValue,
aaDBParameterDirection ParameterDirection)

Parameters

Index

The sequential index of the parameter as used in the SQL statement.

In the following SQL statement, the parameter corresponds to the question mark (?) character:

"SELECT StateProvinceID

,StateProvinceCode
,CountryRegionCode
,IsOnlyStateProvinceFlag
,Name
,TerritoryID
,rowguid
,ModifiedDate

FROM AdventureWorks.Person.StateProvince

WHERE IsOnlyStateProvinceFlag = ?"

ParameterValue

A discrete value or a valid ArchestrA reference string. For example:

Example

SetBitParameterByIndex (0, me.boolValue, aaDBParameterDirection.Input)

In This Topic
TitleResults for “How to create a CRG?”Also Available in