How to create full-text catalog as default catalog?

Posted by Bill Paetzke on Server Fault See other posts from Server Fault or by Bill Paetzke
Published on 2010-04-23T17:50:39Z Indexed on 2010/04/23 17:53 UTC
Read the original article Hit count: 424

This would save me the redundant ON MyCatalog phrase when I create full-text indices.

For example,

CREATE FULLTEXT INDEX ON MyTable
(
    MyField1,
    MyField2,
    MyField3
)
KEY INDEX PK_MyKey ON MyCatalog
WITH CHANGE_TRACKING AUTO

With MyCatalog set as default catalog, I wouldn't have to specify ON MyCatalog every time I want to create a full-text index. So how can I make MyCatalog default on this database?

© Server Fault or respective owner

Related posts about sql-server-2005

Related posts about sql-server