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

Application Server

SetDoubleParameterByName()

  • Last UpdatedOct 13, 2022
  • 1 minute read

Use the SetDoubleParameterByName() method to configure a double parameter by the name encoded into the text of a SQL statement using the @ character.

Syntax

result SetDoubleParameterByName (
string ParameterName,
object ParameterValue,
aaDBParameterDirection ParameterDirection)

Parameters

ParameterName

The string identifier used in the SQL statement.

In the following SQL statement the output parameter name is "AvgReject"

"SELECT @AvgReject = Avg(RejectedQty)

FROM Purchasing.PurchaseOrderDetail "

ParameterValue

A double-precision floating number or a valid ArchestrA reference string. For example:

  • 123.333

  • me.Limit

ParameterDirection

For possible values, see aaDBParameterDirection on.

Example

SetDoubleParameterByName ("AvgReject",null,aaDBParameterDirection.Output)

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