1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-16 19:44:00 +02:00

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)) {