SQLite Forum

Queries across databases
Login
I am using SQLite3.DLL with C# (Windows).

How do I achieve

> sqlite> attach database 'c:/sqlite/db/contacts.db' as contacts;

using SQL?

In other words, what should be the second parameter of sqlite3_exec to attach a database?