Scenario:
We have saved different type of files such as Excel, Image, Text into SQL Server Table. We want to export them to folder. The folder path with file name is saved in FileName column.
Solution:
We will be using Export Column Transformation to save files from Sql table to folder. Let's start with step by step approach
Step 1:
Bring Data Flow Task to Control Flow Pane and then bring OLE DB Source and write query as shown
SQL Command : Select FileName,[File] from dbo.ImportFiles
Step 2:
Bring Export Column Transformation to Data Flow Pane and then connect OLE DB Source to it.
In Extract Column map it to File data column and File Path Column to where you want to save that file.
Final Output:
Let's run our SSIS Package and check the Archive folder if the files are exported to folder successfully.
All the four files are exported to Archive Folder successfully from Sql Server table.
I feel SSIS is the best way of providing solutions about very complex IT problems.I truly feel one needs to carve out and study its utilities as much as possible.
ReplyDeleteSSIS Postgresql Read
Aivivu - đại lý chuyên vé máy bay trong nước và quốc tế
ReplyDeleteVe may bay di My
cách đăng ký chuyến bay từ mỹ về việt nam
vé máy bay khứ hồi từ đức về việt nam
ve may bay tu nga ve viet nam
mua vé máy bay từ anh về việt nam
bay từ pháp về việt nam mấy tiếng
khách sạn cách ly ở nha trang
chi phi ve may bay cho chuyen gia nuoc ngoai
You the man!
ReplyDelete