Discussion:
equivalent to attach in sqlitejdbc
Andy Wilbourn
2010-01-27 13:51:50 UTC
Permalink
If you have used the ATTACH statement you just use your alias you defined



So something like this:

1. Open connection to first database

2. Run command to attach another database ATTACH 'c:/mydata/db2.db'
AS db2

3. Run query that joins two together, just need to use syntax of <db
alias>.<table>. So something like db2.table1 for instance of having a table
in database 2 that is named table1.
Chris Parker
2010-04-08 15:50:55 UTC
Permalink
We are having a problem where any of the pre-packaged builds of sqlitejdbc is causing errors in an application we have written that runs under tomcat. This only occurs on SLES 10 installations. If we run it on SLES 11 or redhat, all seems to be well. I am wondering if anyone else has run into this or has any suggestions. We have tried to build it ourselves with some success, but we still run into problems in other parts of the application. In each case, it is always a problem with ld-linux.so.2.

Thanks,
Chris

继续阅读narkive:
Loading...