Ejemplo n.º 1
0
 function Initialize()
 {
     global $CCConnectionSettings;
     $this->SetProvider($CCConnectionSettings["dbConnection"]);
     parent::Initialize();
     $this->DateLeftDelimiter = "'";
     $this->DateRightDelimiter = "'";
 }
Ejemplo n.º 2
0
 function Initialize()
 {
     global $CCConnectionSettings;
     global $sourceName;
     $this->SetProvider($CCConnectionSettings[$sourceName]);
     parent::Initialize();
     $this->DateLeftDelimiter = "'";
     $this->DateRightDelimiter = "'";
     if ($CCConnectionSettings[$sourceName]["Type"] == "Oracle") {
         $this->query("ALTER SESSION SET NLS_DATE_FORMAT = 'YYYY-MM-DD HH24:MI:SS'");
     }
 }
Ejemplo n.º 3
0
 function Initialize()
 {
     global $CCConnectionSettings;
     $this->SetProvider($CCConnectionSettings["oracle"]);
     parent::Initialize();
     $this->DateLeftDelimiter = "'";
     $this->DateRightDelimiter = "'";
     $this->query("ALTER SESSION SET NLS_DATE_FORMAT = 'YYYY-MM-DD HH24:MI:SS'");
 }