i am a novice programmer in sql.
I want to grab some key value pairs from the text in sql column
e.g.
some text[Key1=Val1]some text[Key2=Val2][Key3=Val3]some text
i want a function which takes Keyname as input & returns the value related with it if found.
GetValueFmKey('Key1')
should return Val1 and like on.
Val1
Note: the specified values are in text it may have pre or post text exists.