public function DatabaseSchema_sqlsrv::CLREnabled in Drupal driver for SQL Server and SQL Azure 7
Same name and namespace in other branches
- 7.3 sqlsrv/schema.inc \DatabaseSchema_sqlsrv::CLREnabled()
- 7.2 sqlsrv/schema.inc \DatabaseSchema_sqlsrv::CLREnabled()
Check if CLR is enabled, required to run GROUP_CONCAT.
File
- sqlsrv/
schema.inc, line 203 - Database schema code for Microsoft SQL Server database servers.
Class
Code
public function CLREnabled() {
return $this->connection
->query("SELECT value FROM sys.configurations WHERE name = 'clr enabled'")
->fetchField() !== 1;
}