How can we help you today? How can we help you today?
alanghopkinson
I understand your point but generating lots of spurious differences sort of defeats the purpose of the tool. I tried your workaround to set the "ignore contraint and index names" but it didn't change the result. I also tried to set up a test by creating two simple scripts with the different syntaxes test1.sql ===== CREATE TABLE [AccessControlList]( [ACL_AccessControlListId] uniqueidentifier ROWGUIDCOL DEFAULT NewId() NOT NULL, [ACL_SecurityDescriptorId] uniqueidentifier NOT NULL, [ACL_Type] varchar(25) NOT NULL, CONSTRAINT [PK_AccessControlList] PRIMARY KEY NONCLUSTERED (ACL_AccessControlListId) WITH FILLFACTOR = 90 ON INDEXES, CONSTRAINT [FK_AccessControlList_SecurityDescriptor] FOREIGN KEY ([ACL_SecurityDescriptorId]) REFERENCES [SecurityDescriptor]([SDE_SecurityDescriptorId]) ) go test2.sql ===== CREATE TABLE [dbo].[AccessControlEntry] ( [ACE_AccessControlEntryId] uniqueidentifier ROWGUIDCOL NOT NULL , [ACE_AccessControlListId] [uniqueidentifier] NOT NULL , [ACE_Type] [varchar] (6) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL , [ACE_StandardAccessRights] [varchar] (500) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL , [ACE_GenericAccessRights] [varchar] (500) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL , [ACE_CustomAccessRights] [bigint] NOT NULL , [ACE_TrusteeId] [uniqueidentifier] NOT NULL , [ACE_SystemFunctionId] [uniqueidentifier] NULL , [ACE_Inheritance] [tinyint] NULL ) ON [PRIMARY] GO ALTER TABLE [dbo].[AccessControlEntry] ADD CONSTRAINT [DF_AccessControlEntry_ACE_AccessControlEntryId] DEFAULT (newid()) FOR [ACE_AccessControlEntryId], CONSTRAINT [PK_AccessControlEntry] PRIMARY KEY NONCLUSTERED ( [ACE_AccessControlEntryId] ) WITH FILLFACTOR = 90 GO Unfortunately, I received a "Object reference not set to an instance of object" error when I tried to run the comparison. Any thoughts? / comments
I understand your point but generating lots of spurious differences sort of defeats the purpose of the tool. I tried your workaround to set the "ignore contraint and index names" but it didn't chan...
0 votes