SQL Compare Error
NDUCKSTE
Posts: 22
SQL Compare is generating the following ALTER TABLE statement which errors:
ALTER TABLE [dbo].[ims_subscriber_details]
ADD CONSTRAINT [PK_ims_subscriber_details]
PRIMARY KEY CLUSTERED ([detail_id])
WITH FILLFACTOR=100, PAD_INDEX ON [PRIMARY]
One flavor of syntax that appears to work is:
ALTER TABLE [dbo].[ims_subscriber_details]
ADD CONSTRAINT [PK_ims_subscriber_details]
PRIMARY KEY CLUSTERED ([detail_id])
WITH (FILLFACTOR=100, PAD_INDEX=ON) ON [PRIMARY]
ALTER TABLE [dbo].[ims_subscriber_details]
ADD CONSTRAINT [PK_ims_subscriber_details]
PRIMARY KEY CLUSTERED ([detail_id])
WITH FILLFACTOR=100, PAD_INDEX ON [PRIMARY]
One flavor of syntax that appears to work is:
ALTER TABLE [dbo].[ims_subscriber_details]
ADD CONSTRAINT [PK_ims_subscriber_details]
PRIMARY KEY CLUSTERED ([detail_id])
WITH (FILLFACTOR=100, PAD_INDEX=ON) ON [PRIMARY]
Comments
Thanks,
Nick
I'm also taking the occasion to push the folks dragging their feet on upgrading our code to make it SQL 2008 compatible. We've got old style sql-92 joins littered everywhere.
Thanks,
Nick