you can try the qw(...) function or use the DBI 'quote' method. > -----Original Message----- > From: Hastie, Christa [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, October 15, 2002 2:45 PM > To: '[EMAIL PROTECTED]' > Subject: :: delimiting apostrophes to insert data w/o errors :: > > > Hello! > I bet there is some really simple DBI function/reg ex that > delimits the > apostrophes like such (\') so data can be inserted into the db without > errors. > > i.e. this string: > INSERT INTO db (SomeColumn) VALUES ('John's car is cool!') > > becomes: > INSERT INTO db (SomeColumn) VALUES ('John\'s car is cool!') > > Anybody know the function/reg ex for this? > Thanks for any help in advance! > Appreciate it! > > - christa :) > > - - - - - - - - - - - - - - - - - - - - - - - - - > christa hastie >
- :: delimiting apostrophes to insert data w/o errors :: Hastie, Christa
- Re: :: delimiting apostrophes to insert data w/o er... Ronald J Kimball
- Re: :: delimiting apostrophes to insert data w/o er... Tim Bunce
- RE: :: delimiting apostrophes to insert data w/o er... Kipp, James
- RE: :: delimiting apostrophes to insert data w/o er... Hastie, Christa
- Re: :: delimiting apostrophes to insert data w/... Tim Bunce
- Re: :: delimiting apostrophes to insert dat... Michael A Chase
- RE: :: delimiting apostrophes to insert data w/o er... [EMAIL PROTECTED]
- Re: :: delimiting apostrophes to insert data w/... Hardy Merrill
- RE: :: delimiting apostrophes to insert data w/o er... Hastie, Christa
- RE: :: delimiting apostrophes to insert data w/o er... Mark Buckle
- Re: :: delimiting apostrophes to insert data w/... Michael A Chase
