Archives of the TeradataForum
Message Posted: Wed, 10 Oct 2001 @ 16:15:44 GMT
Yes it will work.
The rules for including single-quotes in a literal are that you need to code two quotes for every one required in the answer.
So in your example, the two quotes in the middle reduce ot a single quote. The three quotes at the beginning and end are treated as a single-quote delimiter and two quotes which get reduced to one.
In my earlier example, I used four quotes and concatenation but could have coded it using just three (no, don't ask me why I did it that way!).
|Copyright 2016 - All Rights Reserved|
|Last Modified: 28 Jun 2020|