|
Re: Passing strings with quotation marks into SQLite: msg#00116db.sqlite.general
sergey_sikorsky wrote: > > Is there any way to pass a string with single and double quotation > marks at the same time into SQLite? > INSERT INTO aux_table(name,val) VALUES('opa','''"'); SELECT val FROM aux_table; '" Putting two ' in a row results in a single ' in the string. Same as in Pascal. Its an SQL thing. -- D. Richard Hipp -- drh-X1OJI8nnyKUAvxtiuMwx3w@xxxxxxxxxxxxxxxx -- 704.948.4565 To unsubscribe from this group, send an email to: sqlite-unsubscribe-VgYJa0VH1e9BDgjK7y7TUQ@xxxxxxxxxxxxxxxx Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | New to Sqlite Got an error though: 00116, wsuff-DgyQHVhR5ZAmz2Dbq8P9jA |
|---|---|
| Next by Date: | Re: Objects in Database: 00116, lindsay-w3yE7orgGdHvnOemgxGiVw |
| Previous by Thread: | Re: Passing strings with quotation marks into SQLitei: 00116, Mike Swieton |
| Next by Thread: | New to Sqlite Got an error though: 00116, wsuff-DgyQHVhR5ZAmz2Dbq8P9jA |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |