47 require_once
'MDB2/Driver/Function/Common.php';
81 return $db->query(
$query, $types, $result_class, $result_wrap_class);
118 return 'TO_CHAR(CURRENT_TIMESTAMP, \'YYYY-MM-DD HH24:MI:SS\')';
131 function substring($value, $position = 1, $length = null)
133 if (!is_null($length)) {
134 return "SUBSTR($value, $position, $length)";
136 return "SUBSTR($value, $position)";
150 return 'dbms_random.value';