Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> oo4o and alter session problem

oo4o and alter session problem

From: Jarmo Blomster <jarmo.blomster_at_ccc.fi>
Date: Tue, 18 May 1999 15:16:51 +0300
Message-ID: <7hrlqd$cfb$1@news.kolumbus.fi>


Hi,

Is it possible to change the NLS_NUMERIC_CHARACTERS in existing session when using OO4O 2.3.
I've tried it but to my experience it does not work. Does anybody found a workaround for this, or suggestions what we are doing wrong.

We use the following scenario:

  1. We have database table: t(n NUMBER).
  2. We have nls_territory: AMERICAN.AMERICA in database.
  3. We have decimal separator , (comma) and thousand separator (space) in workstation (because we are silly finnishman).
  4. When the user logs in to oracle we retrieve from windows regional settings the decimal and thousand separators
  5. With these characters we call a procedure that further calls alter session (by DBMS_SESSION.set_nls) (this should set the NLS_NUMERIC_CHARACTERS according our Windows regional settings, but it seems to be not functioning)
  6. Now we have procedure that returns data from table t, column n in array.
  7. When we retrieve the value with .Parameters.getValue the number has decimal point as . (stop), not a comma as we expected.

file://Jarmo Received on Tue May 18 1999 - 07:16:51 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US