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

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Take and feed data in excel sheet using SqlServer
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Posting Yak Master

125 Posts

Posted - 05/26/2009 :  05:46:00  Show Profile  Reply with Quote
Hi Eevryone,

Can anyone please tell me, is there exists any process in sql server using which i can take data from one Excel sheet (Source) in a Table format in sql server, do some manipulations and then again feed the resultant data in a destination excel sheet in a specific format.


Sheet1 (Specific Format data) -> in Form of TABLE in SqlServer---
Updated resultant data in Excel Sheet2 (Specific Format data)<--|


Flowing Fount of Yak Knowledge

1693 Posts

Posted - 05/26/2009 :  05:51:11  Show Profile  Reply with Quote
go to query--> result to --> result to file (ctrl+shift+f)
then execute the query then u can save the file in excel sheet
Go to Top of Page


United Kingdom
12543 Posts

Posted - 05/26/2009 :  05:51:43  Show Profile  Visit nr's Homepage  Reply with Quote
openrowset and ssis are two common ways to do this.

You could also control it from the spreadsheet using VB.

Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page

Premature Yak Congratulator

22864 Posts

Posted - 05/26/2009 :  06:49:40  Show Profile  Send madhivanan a Yahoo! Message  Reply with Quote
See if this helps


Failing to plan is Planning to fail
Go to Top of Page
  Previous Topic Topic Next 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.03 seconds. Powered By: Snitz Forums 2000