Hi,
I’m trying to extract some information from a stored message in the SQL database, the message looks like:
Info –I : Message Text [windows event xxx]
I like to extract the information between the “:” and “[“ the query I created is as follows:
Select substring(message,9,500) as 'Message' from SysMessage
It works well if the info before the “:” is 9 characters, I don’t know how to fix this problem. The Message Text is variable in size.
All help is welcome.
Thanks,
J