Viewing 15 posts - 9,016 through 9,030 (of 13,882 total)
The CREATE TABLE will need to be a dynamic Execute SQL task which happens before the data flow (obviously).
October 14, 2014 at 10:52 am
rocky_498 (10/13/2014)
October 13, 2014 at 12:06 pm
Sounds like you need to set the Excel sheet name dynamically via an SSIS Expression. Or are you doing that already?
October 13, 2014 at 11:38 am
Are the tab names in the spreadsheets all the same?
--Edit: ignore that – I just read your post more carefully
October 13, 2014 at 11:35 am
ByronOne (10/13/2014)
Thanks Phil for responding so quickly...That's exactly what I'm looking for...
And thank you for posting back so positively 🙂
October 13, 2014 at 11:33 am
Based on your description, a script task is not what you need for this job.
Have a look here for an example of how to import a fixed width flat file...
October 13, 2014 at 10:53 am
Instead of SELECT @RetVal in my above example,
select left(@RetVal,len(@Retval)-1)
Returns everything apart from the rightmost character. This may be what you need ...
--Edit: fixed inconsistent formatting
October 13, 2014 at 10:36 am
Comment deleted. I answered the wrong question! +1 to Alvin's answer.
October 13, 2014 at 10:24 am
There's a post which may help you here.
October 13, 2014 at 5:55 am
Here is a solution which relies on Jeff Moden's infamous '8k Splitter'[/url].
It assumes that the DelimitedSplit8K function has been created in the database you are going to call it from.
if...
October 13, 2014 at 5:02 am
When you call this function, will you always pass exactly 2 arguments (eg 1 2), or do you want to pass a parameter list with a variable list of params?
October 13, 2014 at 4:06 am
Have you recently renamed your SQL Server instance?
October 13, 2014 at 12:17 am
cbrammer1219 (10/10/2014)
October 10, 2014 at 8:51 am
cbrammer1219 (10/10/2014)
I have used this for files, but with table names I wouldn't know what or where to start, from what I have read says table names can't be dynamic.
In...
October 10, 2014 at 8:30 am
Deleted comment
October 10, 2014 at 2:56 am
Viewing 15 posts - 9,016 through 9,030 (of 13,882 total)