vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| "Hyrum Mortensen" <hymort@hotmail.com> wrote in message news:286d1c4c.0402191015.611c7d9f@posting.google.c om... > Hi, > > How do I insert text that contains the ' character into a text column? > I'm getting an Incorrect syntax error. You have to use two quotes: insert into dbo.MyTable (MyColumn) values ('O''Reilly') See "Using char and varchar Data" in Books Online. Simon |