Click to See Complete Forum and Search --> : MsAcess Query


bhagya79
May 21st, 2003, 03:09 AM
Hello,

Can I have 2 Databases(i.e. 2 .mdb files) open at a time? and can I access 2 tables one from each, in a single query?

how many records a table can have?


please guide.
Regards,
Bhagya

hellomadhu
May 21st, 2003, 04:31 AM
yes, u can have 2 db's open at a time. but u cant open 2 tables one from each in a single query.

and there is no limitation for no of records in a table.

chanti
May 21st, 2003, 06:12 AM
Hi,

We can do that in SQL Server., but I am not sure if it can be done in MS-Access.

Cheers.

nmarun
June 10th, 2003, 08:14 PM
Dear Gurus,

can any one give me an example of how such a sql statement would look?

I guess it would look like:
select * from db1.table1, db2.table2 where ...
is this right??

what would be the difference in MS Access and SQL Server query structures??

tia
Arun

hellomadhu
June 11th, 2003, 02:56 AM
u should make a small change in your query

db1..table1 and db2..table2

i.e put two dots after db name

nmarun
June 11th, 2003, 04:02 PM
thank you madhu

nmarun
June 11th, 2003, 07:41 PM
Hi hellomadhu..

I'm not able to get the query you've given to work. I've attached the zip file which contains 2 access db files. Both have 1 table and db1 has the query. Kindly check it and see what's wrong.

hellomadhu
June 13th, 2003, 06:35 AM
sorry ya, u can do that only in sql server.

chanti had earler said that in his msg, so i thougt u have taken that into consideration.