mysql - SQL:HOW TO TAKE SUBSTRING FOR QUERY -
I have a date
1012009
I have to finally take this date
How to get the last four digits in the column
2009 I need this
Another example:
1032009
How to take the last four values.
simple string function:
SELECT RIGHT (INC_DATE, 4);
Comments
Post a Comment