BUGFIX Added missing MSSQLDatabase::random() method

This commit is contained in:
Sean Harvey 2009-09-17 07:07:02 +00:00
parent bdddbc61a5
commit 91ee7ca80d

View File

@ -1081,6 +1081,13 @@ class MSSQLDatabase extends Database {
return 'CURRENT_TIMESTAMP';
}
/**
* Returns the database-specific version of the random() function
*/
function random(){
return 'RAND()';
}
/**
* Convert a SQLQuery object into a SQL statement.
*/