Fulltext and Filegroups
ChloeC
Posts: 6 Bronze 2
Does SQL Compare supports fulltext indexes on non-default filegroups? When I try to synch against a database which has these created manually it creates them on the default, though tables and indexes are created as expected. I'm not aware of anything odd in my options - but who knows!
Chloe
Chloe
Comments
Filegroups are ignored by default with SQL Compare. Can you check if you have the option 'ignore > 'Filegroups, partition functions and partition schemes' enabled or not?
The ignore option is not enabled. An example of the scripts seen in the compare window is:-
CREATE TABLE [dbo].[Cartographics]
(
[CartographicsID] [bigint] NOT NULL IDENTITY(1, 1),
[SubjectID] [bigint] NOT NULL,
[Scale] [varchar] (50) COLLATE Latin1_General_CI_AS NULL,
[Projection] [varchar] (50) COLLATE Latin1_General_CI_AS NULL,
[Value] [varchar] (50) COLLATE Latin1_General_CI_AS NULL
) ON [DATA]
GO
-- Constraints and Indexes
ALTER TABLE [dbo].[Cartographics] ADD CONSTRAINT [PK_Cartographics] PRIMARY KEY CLUSTERED ([CartographicsID]) ON [DATA]
GO
-- Foreign Keys
ALTER TABLE [dbo].[Cartographics] ADD CONSTRAINT [FK_Cartographics_Subject] FOREIGN KEY ([SubjectID]) REFERENCES [dbo].[Subject] ([SubjectID])
GO
-- Full Text Information
CREATE FULLTEXT INDEX ON [dbo].[Cartographics] KEY INDEX [PK_Cartographics] ON [MDDB_Cartographics]
GO
ALTER FULLTEXT INDEX ON [dbo].[Cartographics] ADD ([Value] LANGUAGE 1033)
GO
SQL Compare cannot create the physical files because it doesn't know where to create them, but if the files are already present, then they should synchronize.