Home Page for the TeradataForum

Archives of the TeradataForum

Message Posted: Wed, 10 Oct 2001 @ 16:15:44 GMT

  <Prev Next>   <<First <Prev

Subj:   Re: Query help needed
From:   David Wellman


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!).



  <Prev Next>   <<First <Prev
  Top Home Privacy Feedback  
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 27 Dec 2016