Showing posts with the label sql-functions

4 Top built-in functions in SQL with Examples

You can find there are four different types of functions in SQL. All these functions are built-in functions. You no need to create these functions, and these come with your SQL. I am discussing today the  SQL functions List . SQL functions DATE-TIME functions Numeric functions Char functions Null-related functions 1. DATE-TIME functions These functions are useful to get DATE and Time. Also, you can covert the DATE and TIME to Char. These are TO_CHAR, CURRENT_DATE, and CURRENT_TIME. 2. Numeric Functions These functions you can use for numeric calculations. Those are TRUNC, SIGN, ROUND, ABS. 3. Char Functions To handle string related tasks you can use CHAR functions. The CHAR functions are like SUBSTR, CONCAT, LENGTH. 4. NULL related functions To handle null values you can use different functions. Those are COALESCE, NVL, NULLIF This post covered all your answers for the SQL functions list, SQL built-in functions in Oracle, and SQL functions in any DBMS.