/ Published in: SQL

A few examples of the LENGTH function
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
SELECT LENGTH('Software Developer') AS LENGTH_TEST FROM dual; SELECT LENGTH('Software Developer ') AS LENGTH_TEST FROM dual; SELECT country, LENGTH(country) AS COUNTRY_LENGTH FROM customers; SELECT LENGTH('') AS LENGTH_EMPTY, LENGTH(' ') AS LENGTH_SPACE FROM DUAL;
URL: http://www.databasestar.com/oracle-length/
Comments
