I am running into an issue, while I import an excel file into sql server 2005 using OpenRowSet, it works fine when excel file is closed, If excel file is open it gives an error message.
I have an excel file which is being updated 8 to 10 times in a minute by a third party software, I have to import this excel file into sql server 2005 very 10 seconds.
Any help would be higly appriciated………
Thanks, Yogi
How do you know which rows you want to import if the file is constantly being updated? Do you have some kind of sequence number so that you can detect gaps?
If you really want to run with something like you have suggested then why not set up a process to copy the Excel spreadsheet file periodically and then get your
OPENROWSETcode to read from this copy.