Guest User

Untitled

a guest
Sep 21st, 2018
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. WHILE CHARINDEX(' ',@bst) > 0
  2. BEGIN
  3. SET @bst = replace(@bst,' ',' ')
  4. END
  5. WHILE CHARINDEX(' ',@pst) > 0
  6. BEGIN
  7. SET @pst = replace(@pst,' ',' ')
  8. END
  9. WHILE CHARINDEX(' ',@ost) > 0
  10. BEGIN
  11. SET @ost = replace(@ost,' ',' ')
  12. END
  13.  
  14. update t_temp set b_Search_Text=@bst WHERE id = @t_cnt;
  15. update t_temp set p_Search_Text=@pst WHERE id = @t_cnt;
  16. update t_temp set o_Search_Text=@ost WHERE id = @t_cnt;
Add Comment
Please, Sign In to add comment