Article 4V843 How to correct syntax error created by using escape for single quote (\') in sqlite3

How to correct syntax error created by using escape for single quote (\') in sqlite3

by
pizzipie
from LinuxQuestions.org on (#4V843)
I am trying to use an INSERT statement in an sqlite3 database that came from MySql.

Code:INSERT INTO `pdata` (`id`, `First`, `Last`, `Name`, `CatId`, `Sub`, `Location`, `Phone`, `Cell`, `Email`, `Notes`) VALUES
(3, 'Beth', 'Jean\'s Friend', 'Jean\'s Friend, Beth', 6, 0, '', '208.255.8015', '', '', 'Jeans Friend');The escapes (\') create syntax errors in sqlite3.

How do I get around this in sqlite3? I am trying to Code:.read insertpdata.sql The file insertpdata.sql was created by phpmyadmin.

Thanks for your help in advance.

Rlatest?d=yIl2AUoC8zA latest?i=RC_dm_4hz4M:_glKA3txo2g:F7zBnMy latest?i=RC_dm_4hz4M:_glKA3txo2g:V_sGLiP latest?d=qj6IDK7rITs latest?i=RC_dm_4hz4M:_glKA3txo2g:gIN9vFwRC_dm_4hz4M
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments