ToString (PQL)
Converts the item to a text string.
- Returned Output: Text
- Library: PQL \ Granular \ String
- Version: 2023.00.000
- Compatibility: Pyramid Query Language (PQL) data sources
Syntax
ToString( <Column Number> )
or
ToString( <Column DateTime> )
* Click on the function's arguments above for more details on the input values.
Comments
- The column can use an attribute with any value type in the model.
- For details on how to employ and use this function see the custom column overview.
Different Function types
- As a granular function, it is used in the base SQL query itself.
Examples
This example returns a column with each privce numeric values converted to a string / text item.
ToString([transactions].[Price])