◷ Reading Time: 1 minute
Summary
This command returns a single value from the database.
Parameters
- command
- Description: The Select command
- Mandatory: Yes
- Type: String
- return
- Description: Name of the variable in which the row will be stored
- Mandatory: Yes
- Type: String
- storedProcedure
- Description: Determines whether the command should execute a stored procedure in the database
- Mandatory: False
- Type: Boolean (true/false)
Internal Commands
Param
Sample
<Database connection-ref="cnn" type="MsSql"> <SelectValue command="select FName from person where id = @id" return="name"> <Param name="id" type="System.Int32" value="1"/> </SelectValue> </Database>