SQL string function LENGTH()

SQL string function LENGTH()

Syntax:

LENGTH(column_name)

Description:
Find the length of column data

Parameters:
Column_name – specifies the column to be manipulated

Example:

SELECT name, price FROM product WHERE LENGTH(name)> 10;

Enjoyed this post? Share it!

 

Leave a comment

Your email address will not be published.