﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / Integration Services / Data Warehousing  / Export multiple files to Excel using SSIS / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Tue, 21 May 2013 07:57:32 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Export multiple files to Excel using SSIS</title><link>http://www.sqlservercentral.com/Forums/Topic1421627-364-1.aspx</link><description>Ive been a bit daft again. I already have a variable with the folder in. Ive concatenated this and the file name together to get the whole shebang.@[Extract_To_CSV_Folder]+@[User::DFES_NAME_DATE_File_Name]+".csv"Hopefully this will work.Fingers crossed</description><pubDate>Thu, 21 Feb 2013 07:08:04 GMT</pubDate><dc:creator>Debbie Edwards</dc:creator></item><item><title>RE: Export multiple files to Excel using SSIS</title><link>http://www.sqlservercentral.com/Forums/Topic1421627-364-1.aspx</link><description>Not yet...I have another error message about The token [The symbol for square] at line number zero ....Im imagining this is because I have spaces in the folder names that I will need to replace with another symbol. This is just a guess though. Difficult to find documentation about this stuff</description><pubDate>Thu, 21 Feb 2013 06:58:11 GMT</pubDate><dc:creator>Debbie Edwards</dc:creator></item><item><title>RE: Export multiple files to Excel using SSIS</title><link>http://www.sqlservercentral.com/Forums/Topic1421627-364-1.aspx</link><description>[quote][b]Debbie Edwards (2/21/2013)[/b][hr]Just realised I have been an idiot on this one!I blame my smaller screen and terrible eyesight :blush:Of course thats what was meant!Thank you[/quote]So all sorted now?</description><pubDate>Thu, 21 Feb 2013 06:54:38 GMT</pubDate><dc:creator>SceloM</dc:creator></item><item><title>RE: Export multiple files to Excel using SSIS</title><link>http://www.sqlservercentral.com/Forums/Topic1421627-364-1.aspx</link><description>Just realised I have been an idiot on this one!I blame my smaller screen and terrible eyesight :blush:Of course thats what was meant!Thank you</description><pubDate>Thu, 21 Feb 2013 06:53:07 GMT</pubDate><dc:creator>Debbie Edwards</dc:creator></item><item><title>RE: Export multiple files to Excel using SSIS</title><link>http://www.sqlservercentral.com/Forums/Topic1421627-364-1.aspx</link><description>Ive had an better error message telling me the example same thing so at least thats something to go on!Still I tried doubling up \\\\ and got the same error message.Hmmmmm. Such a tiny part of it. So annoying when these things take up so much time</description><pubDate>Thu, 21 Feb 2013 06:51:05 GMT</pubDate><dc:creator>Debbie Edwards</dc:creator></item><item><title>RE: Export multiple files to Excel using SSIS</title><link>http://www.sqlservercentral.com/Forums/Topic1421627-364-1.aspx</link><description>[quote][b]Debbie Edwards (2/21/2013)[/b][hr]Excellent piece and its helped me figure out my problem with adding the files to a folder.My problem is that my folders arent on the C drive but they are in a specific folder.... e.g. And when I add this to the connection string like it says in the documentation"C:\\DataFiles\\" + @[User::JobTitle] + ".csv" But this instead.....\\D-fs11\example-it\PROJECTS\DATA WAREHOUSING\Extract_To_CSV+@[User::CODE_NAME_DATE_File_Name]+".csv"I get an error messageAttempt to parse the expression failed. The toke "\" at line number 0 was not recognised. Im beginning to think that you have to add all the folders for this to the C Drive only.[/quote]Try "\\D-fs11\\example-it\\PROJECTS\\DATA WAREHOUSING\\Extract_To_CSV\\" +@[User::CODE_NAME_DATE_File_Name]+".csv"</description><pubDate>Thu, 21 Feb 2013 06:50:15 GMT</pubDate><dc:creator>SceloM</dc:creator></item><item><title>RE: Export multiple files to Excel using SSIS</title><link>http://www.sqlservercentral.com/Forums/Topic1421627-364-1.aspx</link><description>[quote][b]Debbie Edwards (2/21/2013)[/b][hr]Excellent piece and its helped me figure out my problem with adding the files to a folder.My problem is that my folders arent on the C drive but they are in a specific folder.... e.g. And when I add this to the connection string like it says in the documentation"C:\\DataFiles\\" + @[User::JobTitle] + ".csv" But this instead.....\\D-fs11\example-it\PROJECTS\DATA WAREHOUSING\Extract_To_CSV+@[User::CODE_NAME_DATE_File_Name]+".csv"I get an error messageAttempt to parse the expression failed. The toke "\" at line number 0 was not recognised. Im beginning to think that you have to add all the folders for this to the C Drive only.[/quote]I don't think so. Could it be that single backslash characters are causing an issue? (You may need to double them up.)</description><pubDate>Thu, 21 Feb 2013 06:46:28 GMT</pubDate><dc:creator>Phil Parkin</dc:creator></item><item><title>RE: Export multiple files to Excel using SSIS</title><link>http://www.sqlservercentral.com/Forums/Topic1421627-364-1.aspx</link><description>Excellent piece and its helped me figure out my problem with adding the files to a folder.My problem is that my folders arent on the C drive but they are in a specific folder.... e.g. And when I add this to the connection string like it says in the documentation"C:\\DataFiles\\" + @[User::JobTitle] + ".csv" But this instead.....\\D-fs11\example-it\PROJECTS\DATA WAREHOUSING\Extract_To_CSV+@[User::CODE_NAME_DATE_File_Name]+".csv"I get an error messageAttempt to parse the expression failed. The toke "\" at line number 0 was not recognised. Im beginning to think that you have to add all the folders for this to the C Drive only.</description><pubDate>Thu, 21 Feb 2013 06:43:00 GMT</pubDate><dc:creator>Debbie Edwards</dc:creator></item><item><title>RE: Export multiple files to Excel using SSIS</title><link>http://www.sqlservercentral.com/Forums/Topic1421627-364-1.aspx</link><description>In case someone may need this in future.I found a solution to my problem from this site [url]https://www.simple-talk.com/sql/ssis/implementing-foreach-looping-logic-in-ssis-/[/url].A great article in there and I created a package based on it and it worked.Just one thing though, when creating the JobTitle variable do not put the double quotes in the Value field, just leave the Value field blank.</description><pubDate>Wed, 20 Feb 2013 01:40:47 GMT</pubDate><dc:creator>SceloM</dc:creator></item><item><title>Export multiple files to Excel using SSIS</title><link>http://www.sqlservercentral.com/Forums/Topic1421627-364-1.aspx</link><description>Hi allCan someone please help me with a link that has an example on how to export data to multiple Excel files.Files will be created for different department.I have looked at the example obtained here [url]http://www.devtechie.com/post/2012/02/29/Export-Data-into-multiple-Excel-file-SSIS.aspx[/url] but I get an error about the DepartmentReport table already existing, tried to add a File System Task but I am still struggling.Will appreciate any assistance.</description><pubDate>Tue, 19 Feb 2013 06:58:28 GMT</pubDate><dc:creator>SceloM</dc:creator></item></channel></rss>