Viewing 15 posts - 12,796 through 12,810 (of 13,838 total)
Your sample data contains no commas, so each row will be interpreted as a single field.
May 7, 2009 at 6:19 pm
Maybe you could write to a single variable within the loop - just keep on appending messages to it as you iterate round - and then use the contents of...
May 7, 2009 at 10:11 am
Sure. Make sure that the variables you are using are scoped at the package level and then add your tasks to create the file and send the e-mail after the...
May 7, 2009 at 12:52 am
That's a real pain!
I think that you might have to import every row as a single text string and then use code (ie a Script component) to split the items...
May 7, 2009 at 12:30 am
There are loads of examples on the Internet. This one is nice and detailed and will help you get started:
http://www.codebeach.com/tutorials/sql-server-integration-services-your-first-script-component.asp
This one generates multiple output rows from a single input:
Phil
May 6, 2009 at 12:05 am
Maybe this article gives you what you need:
http://www.sqlservercentral.com/articles/Integration+Services/61542/
May 5, 2009 at 9:23 pm
steveb (5/5/2009)
May 5, 2009 at 10:06 am
Your requirement is still puzzling me. You want to create a single XML file and store that in a single BLOB field?
May 5, 2009 at 6:16 am
What is the purpose of using XML here? Are you planning to insert the data, including the XML tags, into the table? Please explain a little more what the requirement...
May 5, 2009 at 4:30 am
So the regions on your spreadsheet may or may not match existing regions in your region table.
If they do, pick up the region ID
If they don't, create the region and...
May 4, 2009 at 11:46 pm
It seems that you need to modify the script, which looks curiously like a VBScript DTS script.
Try replacing this line
DTSDestination("CreateDate") = CDate(DTSSource("Col095"))
With this
If IsDate(DTSSource("Col095")) Then
DTSDestination("CreateDate") = CDate(DTSSource("Col095"))
End If
May 4, 2009 at 4:59 pm
That sounds a bit nasty - I think you might end up having to do that work in a Script Component, where you can certainly generate multiple output rows for...
May 4, 2009 at 5:29 am
Change your data source from 'table' to SQL command.
Select fields from your table and (critically) add a Row_Number() column partitioned on the fields you are using to identify duplicates. So...
May 4, 2009 at 12:02 am
You have provided neither
a) sample data, nor
b) an example of what you want to print
yet you are asking for sample code. Leaving aside paranormal abilities, just how do you expect...
May 3, 2009 at 11:25 pm
Viewing 15 posts - 12,796 through 12,810 (of 13,838 total)