Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Wed, 05 Nov 2003 @ 20:34:37 GMT


     
  <Prev Next>   <<First <Prev Next> Last>>  


Subj:   Re: Escape Character in SQL
 
From:   Jeremy Christiansen

You can also do the following:

SELECT *
FROM user_names
WHERE last_name = "O'GRADY"c;

Putting the string in double quotes immediately followed by the 'c' character will treat everything within the quotes as a character string literal.



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