I believe doubling the single quote inside the string literal should help.

Pavel

On Sun, Feb 20, 2011 at 2:23 PM, Sam Carleton
<scarle...@miltonstreet.com> wrote:
> This is a bit crazy and I know the ideal way would be to not allow the
> apostrophy in the first place but, my focus is easy of use for my customers,
> as compared to easy for me...
>
> I had a customer that saved their SQLite database here:
>
> D:/My Events/President's Day/event.sqlite
>
> My software uses ATTACH to connect to the DB:
>
> ATTACH DATABASE 'D:/My Events/President's Day/event.sqlite' AS EventDB;
>
> Obviously this isn't working.  Is there some way to escape the apostrophe?
>
> Sam
> _______________________________________________
> sqlite-users mailing list
> sqlite-users@sqlite.org
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
>
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to