I want to dynamically replace an exact sub string from a string. For ex I want to replace "dis.[Test Table]"
to "dbo.[Test Table]"
in the following string:
SELECT Name FROM dis.[Test Table].
Note that I it could be any text and any sub string. It will replace only exactly matched sub string as many times as it will occur.