Re: [sqlite] sqlite3_open / ATTACH / creating databases & multiple database handles

2008-12-03 Thread Igor Tandetnik
Unique_User <[EMAIL PROTECTED]> wrote: > 1. If I open database A and B and get back handleA and handleB, can > I call sqlite3* function for database A using handleB? What do you mean, for database A? The connection handle determines which database you are talking to. > 2. Could I close handleA

[sqlite] sqlite3_open / ATTACH / creating databases & multiple database handles

2008-12-03 Thread Unique_User
Hi, I'm using SQLite from a scripting language (Rebol). There I have a CONNECT/CREATE function that calls sqlite3_open to open and if necessary create a database file. My situation is now that I have an application that needs to create several database files. Hence I need to call sqlite3_open