Re: PHP and OCI NLS behaviour
| From: | Miguel Carvalho | Date: | Wed, 17 Apr 2002 21:54:41 +0000 |
| Subject: | Re: PHP and OCI NLS behaviour | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-18618@lists.php.net to get a copy of this message | ||
>
> Or if that is not available for you to edit you could always try just
> executing a statement to alter the session once a database connection
> is established. This method is a little slower.
How slower? Very very slower? Can you give me an aproximation in seconds?
>As you will have to
> execute the alter session statements every time you make the
> connection.
Ok.
>
> The SQL is something like:
> alter session set NLS_LANGUAGE = 'AMERICAN' NLS_TERRITORY = 'AMERICA'
Can i specify the characterset on the alter session?
Sorry for the question...but the Oracle docs that i have read, just say
what is the sintaxe.
Regards
Miguel Carvalho