1.

Get last 4 charcters of string in SQL Server query?

Answer»

Get last 4 CHARCTERS of string in SQL SERVER query?
Below are the two sql query to get the last 4 CHARACTERS from string.
(1)SUBSTR(column, LENGTH(column) - 3, 4)
(2)select RIGHT('abcdefghijkl',4)



Discussion

No Comment Found