Finding strings with duplicate letters inside
问题 Can somebody help me with this little task? What I need is a stored procedure that can find duplicate letters (in a row) in a string from a table "a" and after that make a new table "b" with just the id of the string that has a duplicate letter. Something like this: Table A ID Name 1 Matt 2 Daave 3 Toom 4 Mike 5 Eddie And from that table I can see that Daave , Toom , Eddie have duplicate letters in a row and I would like to make a new table and list their ID's only. Something like: Table B ID