Viewing 15 posts - 11,536 through 11,550 (of 11,677 total)
Oh yeah, forgot to mention:
if you have SQL Server 2008, just use the MERGE statement, much much easier :-D.
If you have 2005 and you're allowed to use 3rd party components,...
April 14, 2010 at 3:11 am
Certainly don't use the OLE DB Command for the updates, as it will issue one million transactions against your DB if you have one million updates.
This is the approach that...
April 14, 2010 at 3:08 am
yingchai (4/13/2010)
Hi Phil,I had some problems here after applying the Lookup Transformation when I want to do partial mapping.
That's why I talked about redirecting or ignoring the error output of...
April 14, 2010 at 12:39 am
yingchai (4/13/2010)
If I have more than one transformation for EntityID column, how is the expression looks like?
COMPANY | ENTITYID
---------------------
AAA | BBB
CCC ...
April 13, 2010 at 7:45 am
dbowlin (4/13/2010)
April 13, 2010 at 7:29 am
Add a derived column transformation with the following expression:
(ISNULL(myColumn)) ? 0 : myColumn
Do this for every column that needs conversion.
April 13, 2010 at 6:30 am
Add a Derived Column Transformation to your data flow.
Select "Replace 'EntityID'" in the Derived Column.
Then use the following expression:
(EntityID == "AAA") ? "BBB" : EntityID
This will replace all AAA values...
April 13, 2010 at 6:08 am
Open the package with a text editor.
You will see the XML code of the package and somewhere in all that gibberisch, there should be your VB/C#.NET code.
April 13, 2010 at 6:05 am
I believe it is best that you only make changes to packages in the test environment and then deploy them to production. Making changes to production packages is asking for...
April 13, 2010 at 6:02 am
You could use Cognos Analysis Studio, but I'm not really aware of the cost that comes with it.
(because you should also have Cognos Framework Manager and Cognos Connection).
It is web-based...
April 13, 2010 at 5:56 am
The simplest way to know of an entire row has been updated, inserted or deleted is by using a creation_datetime column and a delete_indicator (or a current_indicator, whatever works for...
April 13, 2010 at 3:24 am
Another alternative (my brain takes some time to warm up :-D) is to set the value of the table I spoke of at the end of the package. Keep a...
April 13, 2010 at 2:51 am
You could execute your packages in a SQL Server job.
For each jobstep, you can specify what to do with success and failure. Point to a specific jobstep that updates a...
April 13, 2010 at 2:48 am
jasonmorris (4/12/2010)
Hi,The connectors between steps can be 'on success', 'on failure' or 'on completion'.
I'd say it was the last one you require.
Have fun.
No, the precedence constraint 'On Completion' means that...
April 12, 2010 at 8:12 am
werner.broser (4/12/2010)
In this sample not, because it is defined as varchar(16) and always truncated.kr/werner
You're absolutely right, forgot about that one 😀
April 12, 2010 at 6:57 am
Viewing 15 posts - 11,536 through 11,550 (of 11,677 total)