MwTV
MIS
- Mar 9, 2007
- 99
Just to ensure that I am following the appropriate steps to query related information from a SQL Server database using data within a MS Access table.
I performed the following steps;
• Imported 4000+ records from MS Excel into MS Access table named "ContractNumber"
• Within MS Access, I linked to appropriate tables within the SQL Server database
• Create passthrough query to extract data from the SQL Server database for the 4000+ records in my Access table
So far, the query has been running for about an hour!
Initially, I had thought that I needed to create a temporary table in the sql server database using
the following syntax;
CREATE TABLE ##tmpInvNbr
InvNbr varchar(15) COLLATE SQL_Latin1_General_CP437_BIN)
INSERT INTO ##tmpInvNbr SELECT * FROM ContractNumber
Maybe, I am trying to use a passthrough query to extract data from a local table and also from
the tables within the SQL Server database is not the best way to go.
What am I missing here?
Am I following the appropriate steps to query the SQL Server database using the data from Microsoft Access?
If not, please provide some insight.
Thanks in advance.
I performed the following steps;
• Imported 4000+ records from MS Excel into MS Access table named "ContractNumber"
• Within MS Access, I linked to appropriate tables within the SQL Server database
• Create passthrough query to extract data from the SQL Server database for the 4000+ records in my Access table
So far, the query has been running for about an hour!
Initially, I had thought that I needed to create a temporary table in the sql server database using
the following syntax;
CREATE TABLE ##tmpInvNbr
InvNbr varchar(15) COLLATE SQL_Latin1_General_CP437_BIN)
INSERT INTO ##tmpInvNbr SELECT * FROM ContractNumber
Maybe, I am trying to use a passthrough query to extract data from a local table and also from
the tables within the SQL Server database is not the best way to go.
What am I missing here?
Am I following the appropriate steps to query the SQL Server database using the data from Microsoft Access?
If not, please provide some insight.
Thanks in advance.