Support for scalar functions differs depending on the data store you are accessing. Each scalar function returns a single value based on the input value. The SQLGetInfo function returns information about supported functions.
Applications can construct SQL statements using the following syntax, where scalar-function is one of the functions listed in the topic for your data store.