COGNOiSe.com - The IBM Cognos Community

Planning & Consolidation => COGNOS Planning => Topic started by: chriso on 04 Feb 2007 05:15:09 PM

Title: Contributor Publish Locale Problem (Oracle)
Post by: chriso on 04 Feb 2007 05:15:09 PM
Hi, any hints on how to publish with local locale settings?
We're running Contributor over Ora 10g. Publish cancells in a mid way, and the bulk loader indicates dec separators as the problem. The oracle locale is Polish (win1250). It's the Customer corp. policy to have it set to local.
Looking for help, perhaps you had similar cases. I've seen Zeeuw talking about locale in context of importing data (on another thread).

cheers,
/chriso
Title: Re: Contributor Publish Locale Problem (Oracle)
Post by: ykud on 05 Feb 2007 01:48:34 AM
Try different decimal separators ('.' or ',' or none) in Windows Regional Settings.
Title: Re: Contributor Publish Locale Problem (Oracle)
Post by: chriso on 08 Feb 2007 05:49:34 AM
Hi Void, thanks for the hint. We finally made it and the publish works by nowÃ,  ;D
If ever interested this piece of code might help sometimes,...
cheers,
/chriso

CREATE OR REPLACE TRIGGER alter_session_nls
AFTER LOGON ON DATABASE
BEGIN

select program from v$session where
audsid=sys_context('userenv','sessionid');

if the program column returns 'sqlloader' (or sqlloader.exe)
execute immediate 'alter session set nls_numeric_characters= '' ,'' '

END alter_session_nls;