Excel to Oracle / Formula to Function
881863Sep 6 2011 — edited Sep 6 2011I have a column that contains log entries. It can say anything, but someplace in there, it will have an entry that states this:
" ID : 555555 -" (some number).
I need to extract that number. In excel I used somthing like this:
=MID(D2,FIND(":",D2,FIND("ID :",D2,1))+2,(FIND("-",D2,FIND("ID :",D2,1))-FIND(":",D2,FIND("ID :",D2,1)))-3)
Which funtions would be the best to accomplish this?
BTW, rather than finding the info, I was thinking it might be easier to just strip the rest of the info.....I don't know.