Skip to content

Instantly share code, notes, and snippets.

@dpobel
Created March 27, 2012 12:53
Show Gist options
  • Select an option

  • Save dpobel/2215556 to your computer and use it in GitHub Desktop.

Select an option

Save dpobel/2215556 to your computer and use it in GitHub Desktop.
Decimal test in Oracle
<?php
$db = eZDB::instance();
$cli = eZCLI::instance();
$cli->output( 'DBCharset ' . $db->Charset );
$cli->output( 'NLS_NUMERIC_CHARACTERS in nls_session_parameters' );
$cli->output( print_r( $db->arrayQuery( "select * from nls_session_parameters where parameter='NLS_NUMERIC_CHARACTERS'" ), true ) );
$cli->output( 'NLS_NUMERIC_CHARACTERS in nls_database_parameters' );
$cli->output( print_r( $db->arrayQuery( "select * from nls_database_parameters where parameter='NLS_NUMERIC_CHARACTERS'" ), true ) );
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment