public function DatabaseSchema_sqlsrv::EngineVersionNumber in Drupal driver for SQL Server and SQL Azure 7.2
Same name and namespace in other branches
- 7.3 sqlsrv/schema.inc \DatabaseSchema_sqlsrv::EngineVersionNumber()
- 7 sqlsrv/schema.inc \DatabaseSchema_sqlsrv::EngineVersionNumber()
Retrieve Major Engine Version Number as integer.
1 call to DatabaseSchema_sqlsrv::EngineVersionNumber()
- DatabaseSchema_sqlsrv::DrupalSpecificFunctions in sqlsrv/
schema.inc - Returns a list of functions that are not available by default on SQL Server, but used in Drupal Core or contributed modules because they are available in other databases such as MySQL.
File
- sqlsrv/
schema.inc, line 457 - Database schema code for Microsoft SQL Server database servers.
Class
Code
public function EngineVersionNumber() {
$version = $this
->EngineVersion();
$start = strpos($version['VERSION'], '.');
return intval(substr($version['VERSION'], 0, $start));
}