I have a set of data that I need to attach a revision number to. The revision number is located in a log message that is included in the set of data but I'm having difficulty isolating the number so I can put it into the revision number field.
Here's some examples of log messages:
Jane Doe submitted schedule revision number 10.
Marty McFly gave copy traffic confirmation to revision number -1.
Peter Venkman gave managerial approval to revision number 24.
Now the best way that I can think of to do this would be to run a query to pull up the log message for each record and whenever it comes across the string "revision number" in the message, the number that follows that string will be the value inputed into the revision number field.
I figure that once I can identify the string "revision number" then I would just use the Isnumeric() function to find the number that I need whether it's 1 or 100 but I can't seem to find anything that works for me.
So any suggestions you guys might have will be greatly appreciated.
Thanks,
Travis
Charter Media
Here's some examples of log messages:
Jane Doe submitted schedule revision number 10.
Marty McFly gave copy traffic confirmation to revision number -1.
Peter Venkman gave managerial approval to revision number 24.
Now the best way that I can think of to do this would be to run a query to pull up the log message for each record and whenever it comes across the string "revision number" in the message, the number that follows that string will be the value inputed into the revision number field.
I figure that once I can identify the string "revision number" then I would just use the Isnumeric() function to find the number that I need whether it's 1 or 100 but I can't seem to find anything that works for me.
So any suggestions you guys might have will be greatly appreciated.
Thanks,
Travis
Charter Media