Difference between revisions of "Apostrophe"

From SQLZOO
Jump to: navigation, search
(Created page with "How to build a statement on a word with an Apostrophe such as WHERE name='Tom's Book' <div class='ht'> <div> </div> <source lang=sql class='tidy'> </source> <source lang='sql'...")
 
Line 6: Line 6:
 
</source>
 
</source>
 
<source lang='sql' class='def e-oracle e-postgres e-mysql e-sqlserver'>SELECT * FROM cia
 
<source lang='sql' class='def e-oracle e-postgres e-mysql e-sqlserver'>SELECT * FROM cia
 +
WHERE name = 'Cote d''Ivoire'</source>
 +
<source lang='sql' class='def'>SELECT * FROM cia
 
WHERE name = 'Cote d''Ivoire'</source>
 
WHERE name = 'Cote d''Ivoire'</source>
  

Revision as of 12:25, 11 July 2012

How to build a statement on a word with an Apostrophe such as WHERE name='Tom's Book'

 
SELECT * FROM cia
WHERE name = 'Cote d''Ivoire'
SELECT * FROM cia
WHERE name = 'Cote d''Ivoire'
Personal tools
Namespaces

Variants
Actions
Reference
Toolbox
Google AdSense