Viewing 15 posts - 646 through 660 (of 13,878 total)
Nice try, but there are a few issues.
...
I tried pasting that into SSMS and hitting F5, but got a parsing error.
You clearly have not taken the time to read the article to which Jeff directed you. Or,...
This expression will do that:
right(F,3) == "\" \""? replace(F,"\" \"","\""): F
OK, just to be clear, are you saying that you want to change this
"1234-28" "
to this
"1234-28"
?
Still using SSMS 18.x since my second most important Addon (besides Redgate SQL Prompt) with the name SSMSBoost seems to be deprecated and there is no version that works...
Note also that there is a difference between an empty string ("") and NULL.
Please try this:
REPLACE( F , "\"", "" )
Viewing 15 posts - 646 through 660 (of 13,878 total)