Sorry - No advice or explanation for the issues.
If you compare the resultant files at 8.1 and 8.7 are they identically sized? Those would be the DATA.30 and OVER.30 files.
Search found 15603 matches
- Fri Nov 09, 2012 5:24 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Performance Test Problems with 64 bit Hash files on 8.7
- Replies: 7
- Views: 3119
- Thu Nov 08, 2012 5:28 am
- Forum: General
- Topic: DSJOB command
- Replies: 6
- Views: 2514
- Thu Nov 08, 2012 5:26 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Parameter in WHERE clause
- Replies: 23
- Views: 7265
Now that I really think of the problem you are having with the DELETE I realize it is the same issue I encountered with my generic job that wants to do updates. I ended up using a generic stage as shown in this thread.
- Thu Nov 08, 2012 4:25 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Parameter in WHERE clause
- Replies: 23
- Views: 7265
- Thu Nov 08, 2012 3:41 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Parameter in WHERE clause
- Replies: 23
- Views: 7265
- Thu Nov 08, 2012 3:39 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Dimension Loading Scenario
- Replies: 1
- Views: 650
Since a change in any value in any of the 3 tables would trigger an update, you really cannot get around having to check all 3 tables. With this amount of data it would make sense to put a column in your tables which would indicate that it has changed since the last run - with an index on that colum...
- Thu Nov 08, 2012 3:24 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Parameter in WHERE clause
- Replies: 23
- Views: 7265
- Thu Nov 08, 2012 3:13 am
- Forum: General
- Topic: Jobe type find
- Replies: 1
- Views: 1089
- Thu Nov 08, 2012 2:53 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Parameter in WHERE clause
- Replies: 23
- Views: 7265
- Wed Nov 07, 2012 12:46 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: delete using odbc connector
- Replies: 6
- Views: 5708
Does function correctly when run from your SQL-Server Management Studio?
Code: Select all
DELETE
FROM
dbo.MAINT_PART_COST_FACT
WHERE
MAINT_PART_COST_FACT.DAY_KEY = [ORCHESTRATE.DAY_KEY]
- Wed Nov 07, 2012 11:42 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: delete using odbc connector
- Replies: 6
- Views: 5708
- Wed Nov 07, 2012 9:02 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: current year - 2 years using datepart and getdate
- Replies: 6
- Views: 3034
- Wed Nov 07, 2012 8:55 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: how to print below requirement
- Replies: 14
- Views: 4785
- Wed Nov 07, 2012 8:51 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: current year - 2 years using datepart and getdate
- Replies: 6
- Views: 3034
Re: FIXED!
Shouldn't you be doing as:
SELECT
DAY_KEY,
DATEPART(yyyy,getdate())-2 AS DateTypeFieldFROM FMPA_MSS.dbo.DAY_DIM
WHERE DATEPART(yyyy,getdate())-2 >= DATEPART(YYYY,FISCAL_YEAR_END_DATE);
And in your column definitions you have DAY_KEY and DateTypeField declared.
SELECT
DAY_KEY,
DATEPART(yyyy,getdate())-2 AS DateTypeFieldFROM FMPA_MSS.dbo.DAY_DIM
WHERE DATEPART(yyyy,getdate())-2 >= DATEPART(YYYY,FISCAL_YEAR_END_DATE);
And in your column definitions you have DAY_KEY and DateTypeField declared.
- Wed Nov 07, 2012 3:12 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: current year - 2 years using datepart and getdate
- Replies: 6
- Views: 3034