dory550 lambert
asked on
Inserting array into an mssql table
Hi Guys
I have to insert an array of 6000 rows and 50 columns to an existing remote mssql table
with the correct field sequence
Can anyone provide me with the shortest code to do that
Thank you for your help
Dory
I have to insert an array of 6000 rows and 50 columns to an existing remote mssql table
with the correct field sequence
Can anyone provide me with the shortest code to do that
Thank you for your help
Dory
ASKER
To Imran fast
Actually I need to transfer periodically aN MsAccess table to An MsSql table
I am using ASP/VBscript/ADO
I simply use rs.getrows to create the array with code.
I assumed this would the quickest method since a text file would require 6000 disk accesses
The only access I have to the MsSql is through an admin tool which is provided by ny webhosting company and does not have DTS enabled.
Your input is appreciated
thank you
Dory
Actually I need to transfer periodically aN MsAccess table to An MsSql table
I am using ASP/VBscript/ADO
I simply use rs.getrows to create the array with code.
I assumed this would the quickest method since a text file would require 6000 disk accesses
The only access I have to the MsSql is through an admin tool which is provided by ny webhosting company and does not have DTS enabled.
Your input is appreciated
thank you
Dory
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
<<well, the fastest would be the following:
create a linked table from access pointing to the mssql table, and then do a simple insert (append) query from the access table to the mssql linked table.>>I concurr...use that method and package it in a scheduled job...
create a linked table from access pointing to the mssql table, and then do a simple insert (append) query from the access table to the mssql linked table.>>I concurr...use that method and package it in a scheduled job...
Is it a text file?
Then use DTS.