Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 Transact-SQL (2008)
 Excel To Sql

Author  Topic 

ravininave
Posting Yak Master

111 Posts

Posted - 2012-12-25 : 02:59:32
Hi, I'm working on some Commodities application. In this I'm getting all rates feed in a excel sheet. Now I've to upload continuously those rates in sql server table so that user can view it correctly. So can anyone suggest me how to do this as speed is the major issue in such a applications.

VB6/ASP.NET
------------------------
http://www.nehasoftec.com

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2012-12-25 : 23:58:48
how frequently you get rates? One way this is done is by means of ssis package which imports data to sql table. The package would be called from SQL agent job which will executed as per an automated schedule

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page

ravininave
Posting Yak Master

111 Posts

Posted - 2012-12-26 : 01:04:17
after every second
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2012-12-26 : 05:07:35
so you want this to be handled synchronously or asynchronously? can you afford downtime?

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page

ravininave
Posting Yak Master

111 Posts

Posted - 2012-12-26 : 07:30:45
How they do while fetching rates from server
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2012-12-27 : 00:01:34
what you could do is to put excel sheets in a shared folder. then you can design a package which fetches sheet from folder, do transfer of data to table and then archive file. This package can be called from an automated sql agent job which will get executed as per a schedule. you can keep a control table to keep track of files and their status.


see a similar logic here

http://visakhm.blogspot.in/2012/05/package-to-implement-daily-processing.html

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page
   

- Advertisement -