Search found 53125 matches
- Wed Jan 13, 2010 4:32 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Execute SQL Server Stored Procedure to Drop Index
- Replies: 6
- Views: 3113
- Wed Jan 13, 2010 3:46 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Execute SQL Server Stored Procedure to Drop Index
- Replies: 6
- Views: 3113
- Wed Jan 13, 2010 3:44 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Weekends between two dates
- Replies: 7
- Views: 2593
What about holidays?
This is the kind of situation where you need a time dimension table, which flags the day type. Your result is then a simple query of the form
This is the kind of situation where you need a time dimension table, which flags the day type. Your result is then a simple query of the form
Code: Select all
SELECT COUNT(*) FROM TimeDim WHERE THE_DATE BETWEEN :1 AND :2 AND DAY_TYPE = 'B'; -- 'B' = business day- Wed Jan 13, 2010 3:39 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: explain oracle enterprise stage......?
- Replies: 5
- Views: 1625
- Wed Jan 13, 2010 3:37 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: DB2z error
- Replies: 9
- Views: 6072
- Wed Jan 13, 2010 3:34 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Setting DB2 environment variables
- Replies: 16
- Views: 4985
- Wed Jan 13, 2010 3:30 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: UniData 7.2.3 Upgrade with server job
- Replies: 4
- Views: 1834
- Wed Jan 13, 2010 3:30 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: SQL server Datetime
- Replies: 1
- Views: 1008
- Wed Jan 13, 2010 3:29 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: rolling partitions for 12 week
- Replies: 5
- Views: 1522
- Wed Jan 13, 2010 3:28 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Trailing sign in decimal field
- Replies: 5
- Views: 2218
- Wed Jan 13, 2010 3:26 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: some datastage server edition questions
- Replies: 6
- Views: 2525
- Wed Jan 13, 2010 3:23 pm
- Forum: General
- Topic: Job Scheduling is not functioning.
- Replies: 25
- Views: 53107
- Wed Jan 13, 2010 3:21 pm
- Forum: General
- Topic: Error Calling stored procedure
- Replies: 8
- Views: 4470
- Wed Jan 13, 2010 3:19 pm
- Forum: General
- Topic: I-descriptor was not compiled error
- Replies: 3
- Views: 1332
EVAL expressions take BASIC functions, not SQL functions. There is no SUBSTRING function in BASIC (you can use SUBSTRINGS or the square bracket notation).
Code: Select all
SELECT EVAL "IF MSG.ARGS = '' THEN MSG.TEXT[5,LEN(MSG.TEXT)-13)] ELSE MSG.ARGS" FROM RT_LOG21 WHERE TYPE=5;- Wed Jan 13, 2010 2:04 am
- Forum:
- Topic: Exporting/Importing Operational Metadata
- Replies: 5
- Views: 3351