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.

sql built-in functions with examples

I am discussing today the SQL functions List.

SQL functions

  1. DATE-TIME functions
  2. Numeric functions
  3. Char functions
  4. 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.

Also, Read


I have explained in this post about four different types of SQL built-in functions for your quick reference.


Popular Posts

Hyperledger Fabric: 20 Real Interview Questions

7 AWS Interview Questions asked in Infosys, TCS

How to Fix Python Syntax Errors Quickly

Python 'getsizeof' Command the Real Purpose

Blue Prism complete tutorials download now

Vi Editor to Quit use Esc and Colon

Python Dictionary Vs List With Examples

AWS Vs Azure Load Balancers Top Insights

Tokenization: Vault based Vs Vault-less

5 HBase Vs. RDBMS Top Functional Differences