BusinessObjects Board

multi server problem using IDT

I am making a two server unx using IDT. I need to change this

@catalog(‘FMHP-GHP-EZCAP-DB-CN’).“EZ_FN.dbo”.“CLAIM_BATCHSUMMARY_ALL”.“CREATEDATE” to use something like this

Cast (Convert(DATE , CLAIM_BATCHSUMMARY_ALL.CREATEDATE, 101) as datetime)

I try but I keep getting errors


Tiger_Dan :puerto_rico: (BOB member since 2015-07-07)

Have a look here: DB-specific Relative Dates SQL Server, Oracle, Netezza, DB2

Halfway down the page, I posted several bits of code for dates that work in multi-source IDT. Took me ages to figure out but IDT has its own peculiar syntax so that code works with different databases.

May not help, but might point you in the right direction!

debbie


Debbie :uk: (BOB member since 2005-03-01)

dear moderator

I am sorry.

But can you or anyone please tell me where I can see some examples

Thanks


Tiger_Dan :puerto_rico: (BOB member since 2015-07-07)

Dear Tiger_Dan - this is what Debbie meant:


Nick Daniels :uk: (BOB member since 2002-08-15)

Also:-
https://bobj-board.org/t/227720


Mak 1 :uk: (BOB member since 2005-01-06)