1
0
mirror of https://github.com/silverstripe/silverstripe-mssql synced 2024-10-22 06:05:53 +00:00

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

@ -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.
*/