Am Thu, 27 Sep 2012 20:31:36 -0700 schrieb
john_prov...@yahoo.com:

> I’m confused about how to attach a database file to an existing 
> database. I open my main database ok, then to attach the second
> database, I try to execute the following SQL:
>
> ATTACH DATABASE ‘c:\mydata\my_attach_database.db’ AS ‘attached_db’

Use simple single quotes around the filename, and don't quote the alias
name at all:

ATTACH DATABASE 'c:\mydata\my_attach_database.db' AS attached_db;

HTH,
Wolfgang

_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to