Viewing 15 posts - 12,526 through 12,540 (of 13,870 total)
This is an unusual requirement - let's make sure I understand.
Say your input file has 10 columns and, out of those, 8 columns contain only nulls.
You want to load...
September 23, 2009 at 11:56 am
ar-727381 (9/23/2009)
September 23, 2009 at 10:07 am
I am interested to hear what the business need is behind this requirement - can you provide an overview? There may be other ways of addressing it.
September 23, 2009 at 4:08 am
After reading this thread, I suspect his head will be quite big enough!
Here is an example, in pseudo-code.
1) Traditional Loop/Cursor
Foreach Executive in Person
Set Salary = Salary * 1.1
Next...
September 23, 2009 at 3:47 am
Elliott W (9/22/2009)
Phil Parkin (9/22/2009)
September 22, 2009 at 10:04 am
Elliott W (9/22/2009)
Phil Parkin (9/22/2009)
I haven't tried that -...
September 22, 2009 at 8:46 am
Sounds like you got it working well - good stuff:cool:
September 22, 2009 at 8:39 am
An example of your input data would paint the picture much more completely than just words, no matter how detailed your verbal explanation ... So far I have a picture...
September 22, 2009 at 8:35 am
Use an Execute SQL task (select count(*) from ...) to assign the count to a package variable (which you will have to create) at control flow level and then use...
September 22, 2009 at 5:39 am
Or possibly (thinking a level up) a parent package that concurrently runs multiple occurrences of the same child package, with appropriate parameters.
I haven't tried that - and it doesn't sound...
September 22, 2009 at 2:42 am
Elliott W (9/21/2009)
--edit--Maybe you could force the TAB character into a variable and use that variable in the assembly of the column..
--
CEWII
Or put some other unused character there...
September 21, 2009 at 4:00 pm
Assuming that the text files are the same format (same field names, types, number of fields) you can use a FOREACH loop to iterate round the files.
But I'm not going...
September 17, 2009 at 5:11 am
Just add the single quotes in ...
"UPDATE TB_DMNSTAGE SET DMN_STATUS = '" + @[User::DMNSTATUS] + "' WHERE DMN_ID = " + @[User::DMNID]
September 16, 2009 at 4:57 pm
You could use an OLEDB Command transformation to do the update for you.
Or you could send the rows to a staging area and then run an UPDATE to do them...
September 16, 2009 at 12:31 pm
Viewing 15 posts - 12,526 through 12,540 (of 13,870 total)