How do you get a portion of a string?

Using SUBSTR you can get a portion of a string.

Example :
SELECT SUBSTR(column_name, 1, 10) from table_name;

Leave a Reply

Your email address will not be published. Required fields are marked *