Re: Inserting a string with an Apostrophe

From: Vishal Parkar (REMOVE_THIS_vgparkar_at_yahoo.co.in)
Date: 04/29/04


Date: Fri, 30 Apr 2004 02:13:15 +0530


  double up the single quote.

  Insert into NAME (LASTNAME) Values ('D''Mario')

  --
  Vishal Parkar
  vgparkar@yahoo.co.in

  "CB" <anonymous@discussions.microsoft.com> wrote in message
news:2EB35DAE-25A4-4CA2-BE04-AA1FCD64F3BC@microsoft.com...
> I would like to insert a value with an apostrophe into a character
field. I keep on getting "commande text not set for command object". Is
there a character that I can put before and after the string to show that
the system should take the exact value and not look at the characters as an
indicator?
> EX: Insert into NAME (LASTNAME) Values ('D'Mario')



Relevant Pages