Example: Converting a Dollar Amount to a NUMBER Data Type

Teradata Vantageā„¢ Data Types and Literals

brand
Software
Teradata Vantage
prodname
Teradata Database
Teradata Vantage NewSQL Engine
vrm_release
16.20
category
Programming Reference
featnum
B035-1143-162K

The following query returns 123:

SELECT TO_NUMBER('dollar123','L999','NLS_CURRENCY=''dollar''');