Hi guys!
When i execute this:
database.execSQL(String.format(ATTACH DATABASE '%s' as %s,
basicDataDb.getAbsolutePath(),
BasicDataDbUtils.BASIC_DATA_DATABASE_ALIAS));
i don´t know if the database was attached before...how can i verify
this? because if i try to execute ATTACH DATABASE
Hello guys!
I´m trying to verify if the database was attached. When I use:
database.execSQL(String.format(ATTACH DATABASE '%s' as %s,
basicDataDb.getAbsolutePath(),
BasicDataDbUtils.BASIC_DATA_DATABASE_ALIAS));
and if I execute this again, returns an exception saying: database in
Does the API restrict you from attaching to another database while you
have one open?
I tried the SQLite3 command attach database .../contacts.db as
aliasdb
This works in the adb shell and I'm able to perform joins with tables
in this database.
When I use the same command via the API using
3 matches
Mail list logo