Probably a simple one but I'm having trouble getting this to work in SQL. ( easy with VBA ).
Given xxx_123_abcd I need to extract the 123 part. whatever code searchs for the _ should always work from the left because sometimes and string might be xxx_123_abcd_xxx.
Thanks in advance for any advice :)