Ö
Özden Irmak
Hello,
I'm trying to compare to table datas and get the equal rows. I've linked
those two tables onto a third database and run this query :
"Select [Source_tblAdverse_Actions].[AA_Priority] AS
[AA_Priority],[Source_tblAdverse_Actions].[Adv_Act_ID] AS
[Adv_Act_ID],[Source_tblAdverse_Actions].[Adverse_Action_ID] AS
[Adverse_Action_ID],[Source_tblAdverse_Actions].[Application_ID] AS
[Application_ID] FROM
[Source_tblAdverse_Actions],[Destination_tblAdverse_Actions] WHERE
[Source_tblAdverse_Actions].[AA_Priority] &
[Source_tblAdverse_Actions].[Adv_Act_ID] &
[Source_tblAdverse_Actions].[Adverse_Action_ID] &
[Source_tblAdverse_Actions].[Application_ID]=[Destination_tblAdverse_Actions].[AA_Priority]
& [Destination_tblAdverse_Actions].[Adv_Act_ID] &
[Destination_tblAdverse_Actions].[Adverse_Action_ID] &
[Destination_tblAdverse_Actions].[Application_ID]"
But this query never ends, believe me even a day long. Both of the tables
contain around 30000 records. What is wrong?
Database is Access 2000 and are on my local computer.
Anybody can help?
Regards,
Özden
I'm trying to compare to table datas and get the equal rows. I've linked
those two tables onto a third database and run this query :
"Select [Source_tblAdverse_Actions].[AA_Priority] AS
[AA_Priority],[Source_tblAdverse_Actions].[Adv_Act_ID] AS
[Adv_Act_ID],[Source_tblAdverse_Actions].[Adverse_Action_ID] AS
[Adverse_Action_ID],[Source_tblAdverse_Actions].[Application_ID] AS
[Application_ID] FROM
[Source_tblAdverse_Actions],[Destination_tblAdverse_Actions] WHERE
[Source_tblAdverse_Actions].[AA_Priority] &
[Source_tblAdverse_Actions].[Adv_Act_ID] &
[Source_tblAdverse_Actions].[Adverse_Action_ID] &
[Source_tblAdverse_Actions].[Application_ID]=[Destination_tblAdverse_Actions].[AA_Priority]
& [Destination_tblAdverse_Actions].[Adv_Act_ID] &
[Destination_tblAdverse_Actions].[Adverse_Action_ID] &
[Destination_tblAdverse_Actions].[Application_ID]"
But this query never ends, believe me even a day long. Both of the tables
contain around 30000 records. What is wrong?
Database is Access 2000 and are on my local computer.
Anybody can help?
Regards,
Özden