So I have this column called MESSAGE on my LOGS Table that has every line starting like this (well, at least they all start with the word Percentage):
Percentage|15/25|1%*1569ms#0ms*C:\Snapshot\Snapshot_15.jpg
I need to select the string
1569ms
in this case. They always come between * and #. How can I do this?
SELECT SUBSTRING(MESSAGE, , ) as Duration FROM LOGS