hi I want to find the number beside a letter in a string , like I have
"LOTS 1, 2 & 3 -50 X 140 EACH-"
"PLOTS 17 & 18 -50 X150' EACH-"
these kind of data in a column . now I want to find X from the data and pull the number which is right to the letter X. please let me know how to write a query in sql server to solve this .
thanks in advance.