I have a table A with the string-column a and a table B with the string-column b. a is a substring of b.
You have the contains function: http://msdn.microsoft.com/en-us/library/ms187787.aspx
select * from A,B where contains(B.b, A.a)