I have a varchar field like:
195500 122222200
I need to change these values to:
1955.00 1222222.00
Please see the following code. You can choose the symbols and index in variable.
declare @index int,@sym varchar(10) set @sym='#' set @index=2 select left(195500,@index) +''+@sym+''+right(195500,len(195500)-@index)