SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 Transact-SQL (2008)
 Excel To Sql
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

ravininave
Posting Yak Master

India
100 Posts

Posted - 12/25/2012 :  02:59:32  Show Profile  Reply with Quote
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

India
52317 Posts

Posted - 12/25/2012 :  23:58:48  Show Profile  Reply with Quote
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

India
100 Posts

Posted - 12/26/2012 :  01:04:17  Show Profile  Reply with Quote
after every second
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

India
52317 Posts

Posted - 12/26/2012 :  05:07:35  Show Profile  Reply with Quote
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

India
100 Posts

Posted - 12/26/2012 :  07:30:45  Show Profile  Reply with Quote
How they do while fetching rates from server
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

India
52317 Posts

Posted - 12/27/2012 :  00:01:34  Show Profile  Reply with Quote
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
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.08 seconds. Powered By: Snitz Forums 2000