Using 2 DB in SQLITE (ATTACH)
Posted: Tue Jan 01, 2019 8:42 am
Grupo
He visto que se puede usar 2 bases de datos SQLite en una aplicación y es precisamente lo que estoy necesitando, he visto documentación al respecto, pero me gustaría si alguien ya ha hecho eso y si me puede indicar con un ejemplo el CÓMO se puede hacer.
De antemano agradezco la ayuda al respecto.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
First of all, I'm sorry 4 my bad English
I need to use two SQLITE DB , are you have a example I meen I have CatalogDB and TransactionDB I need Attach a SQLITE DB and then use it in sentence like next:
Select c.Country_Id, c. Country_Name, t.Distributor_id, d.Distributor_Name
FROM CatalogDB AS C
INNER JOIN TransactionDB AS t on t.Country_Id = c.Country_Id
BUT I don't know how use ATTACH DATABASE and then how use the two database in muy prg
Thks for some LIGHT (luz in spanish)
He visto que se puede usar 2 bases de datos SQLite en una aplicación y es precisamente lo que estoy necesitando, he visto documentación al respecto, pero me gustaría si alguien ya ha hecho eso y si me puede indicar con un ejemplo el CÓMO se puede hacer.
De antemano agradezco la ayuda al respecto.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
First of all, I'm sorry 4 my bad English
I need to use two SQLITE DB , are you have a example I meen I have CatalogDB and TransactionDB I need Attach a SQLITE DB and then use it in sentence like next:
Select c.Country_Id, c. Country_Name, t.Distributor_id, d.Distributor_Name
FROM CatalogDB AS C
INNER JOIN TransactionDB AS t on t.Country_Id = c.Country_Id
BUT I don't know how use ATTACH DATABASE and then how use the two database in muy prg
Thks for some LIGHT (luz in spanish)