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)
 sql server2008 using ssis for files load
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

kond.mohan
Posting Yak Master

India
197 Posts

Posted - 03/03/2014 :  05:42:45  Show Profile  Reply with Quote

hi,
we need to copy the excel/Txt files
from network location commondrive(foder to )to server folder.
After that using sql server 2008 to pull th
Is there any way to do that using ssis tasks.

visakh16
Very Important crosS Applying yaK Herder

India
52325 Posts

Posted - 03/03/2014 :  06:00:38  Show Profile  Reply with Quote
yep..
You can use File System Task with Move file operation to move files from one folder to other
Then you can use data flow task to extract data from file to sql table. Use excel source for excel or flat file source for text file and use OLEDB destination for inserting to sql server table.

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs
Go to Top of Page

kond.mohan
Posting Yak Master

India
197 Posts

Posted - 03/03/2014 :  07:06:29  Show Profile  Reply with Quote
Thanks vishak for your guidelines.

and pls Explain me the required options and building method for using Filesystemtask in ssis to do the same
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

India
52325 Posts

Posted - 03/03/2014 :  11:41:49  Show Profile  Reply with Quote
see example here
http://www.bidn.com/blogs/KeithHyer/bidn-blog/2465/copy-and-rename-a-file-in-ssis-using-the-file-system-task

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs
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.06 seconds. Powered By: Snitz Forums 2000