diff --git schema.inc schema.inc index 8ba1298..1e1d4a0 100755 --- schema.inc +++ schema.inc @@ -200,7 +200,7 @@ class DatabaseSchema_sqlsrv extends DatabaseSchema { protected function createIndexSql($table, $name, $fields) { // Here we need to create a computed PERSISTENT column, and index that, when // the type is not allowed in an index. - return 'CREATE INDEX ' . $name . '_idx ON [{' . $table . '}] (' . $this->createKeySql($fields) . ')'; + return 'CREATE CLUSTERED INDEX ' . $name . '_idx ON [{' . $table . '}] (' . $this->createKeySql($fields) . ')'; } /**