Re: apostrophes in an SELECT SQL statement

From: Rajiv Tandon <rajiv.tandon_at_bridge.bellsouth.com>
Date: 1996/07/18
Message-ID: <31EEC1F4.1C5F_at_bridge.bellsouth.com>#1/1


Jason Byors wrote:

> How could the following SELECT SQL statement be written so that it
> will work:
>
> SELECT * FROM movies WHERE title = 'Muriel's Wedding'

Use a double single-quote i.e.

SELECT * FROM movies WHERE title = 'Muriel''s Wedding'

Rajiv Tandon
The Phoenix Project
BellSouth

All opinions are mine etc. Received on Thu Jul 18 1996 - 00:00:00 CEST

Original text of this message