From my own experience - as soon as you choose multisource, your database-specific SQL goes out of the window. You can’t use oracle, sql server or anything that worked in a single-source. You’re stuck with SQL-92 code that (presumably) is the lowest common denominator that works with everything.
There are some SQL-92 multi-source IDT dates that work here (3rd post down): DB-specific Relative Dates SQL Server, Oracle, Netezza, DB2 Have a play around with some of them and adapt for your needs.
Debbie
Debbie (BOB member since 2005-03-01)