Comments
2 comments
-
Surround the Parens with braces:
UPDATE table SET column = REPLACE{(}column,' ', ' '{)}
http://www.red-gate.com/help/sqlprompt/Topics/SPT_ConfigAutoInsert.html -
Hi Kiran,
Thanks for reporting this, and thanks again to Chris for the workaround. At this stage it's not clear to me whether this is something that just needs documenting better, or whether we can actually do something to stop you needing to do this. However, we are aware that there is an issue here (you're far from being alone in having problems with this), and will be addressing it in some way for version 3.
Many thanks,
Add comment
Please sign in to leave a comment.
UPDATE table SET column = REPLACE(column,' ', ' ')
but when i try to run this snippet its missing the paranthesis like this
UPDATE table SET column = REPLACEcolumn,' ', ' '
Can someone help me out how to get the paranthesis in my final result by using snippents. Thank You.