right sql date format setting
This commit is contained in:
parent
d1c45859c6
commit
b4bf33fc8c
@ -76,7 +76,7 @@ class Doctrine_Connection_Oracle extends Doctrine_Connection
|
||||
*/
|
||||
public function setDateFormat($format = 'YYYY-MM-DD HH24:MI:SS')
|
||||
{
|
||||
$this->exec('ALTER SESSION NLS_DATE_FORMAT "'.$format.'";');
|
||||
$this->exec('ALTER SESSION SET NLS_DATE_FORMAT "'.$format.'";');
|
||||
}
|
||||
/**
|
||||
* Adds an driver-specific LIMIT clause to the query
|
||||
|
Loading…
x
Reference in New Issue
Block a user