MS SQL functions

This commit is contained in:
Jakub Vrana 2010-05-18 00:49:37 +02:00
parent f9bb1c5c64
commit e4df0c6e70

View file

@ -441,6 +441,8 @@ document.getElementById('username').focus();
$return = $connection->quote($value);
if (ereg('^(now|getdate|uuid)$', $function)) {
$return = "$function()";
} elseif (ereg('^current_(date|timestamp)$', $function)) {
$return = $function;
} elseif (ereg('^([+-]|\\|\\|)$', $function)) {
$return = idf_escape($name) . " $function $return";
} elseif (ereg('^[+-] interval$', $function)) {