oracle/sqlrelay/php 把 field 的 name 轉成小寫 sample code

// $__oradb->setOption(‘portability’, DB_PORTABILITY_LOWERCASE); require_once “config.php”; require_once “sqlrelay.php”; unset($__config[‘sqlrelay_dsn’]); $__config[‘sqlrelay_dsn’][]=”sqlrelay://xx_id:xx_pass@172.30.0.17:9000″; $sql=”select aaa,bbb from xxxx t where g_close_date is null”; $__now=get_microtime(); $__oradb=_fn_connect_sqlrelay(); $__oradb->setOption(‘portability’, DB_PORTABILITY_LOWERCASE); $result = $__oradb->query($sql); if (DB::isError($result)) { echo “db…Continue Reading …