New to all this but I have a table called Table1 with a column name cat1
contents is :
delimited:
info:something:else
I want to select the information to the right of the second :
I am using the following statement:
SELECT SUBSTRING_INDEX(cat1, ':', -1) FROM Table1
It gives me an error
ending quote expected ' near (near)
but if I change the :
to something like ;
it will run with no error.
Any help would be much appreciated.