SQL functions allow you to define, manipulate, and control data in SQL databases and other relational databases. By using the SQL functions (or the device functions with an SQL device), you can directly access data on database servers, mini-computers, and mainframe computers.