Drop columns
jagadeesh_m1229
Posts: 4 New member
in SQL Compare
Hi Team,
Hope you all good,
In our environment I have compared two databases source and target there is a comman table in both database but there is a difference in columns, source have 3 columns for example (A,B and C) target have 3 Columns has(A,B And D),while using Redgate compare from source to target Script generated as below
ALTER TABLE [dbo].[x] DROP COLUMN [D]
I need all columns in target table as it is. Could you please help on the same.
Thanks in advance.
Hope you all good,
In our environment I have compared two databases source and target there is a comman table in both database but there is a difference in columns, source have 3 columns for example (A,B and C) target have 3 Columns has(A,B And D),while using Redgate compare from source to target Script generated as below
ALTER TABLE [dbo].[x] DROP COLUMN [D]
I need all columns in target table as it is. Could you please help on the same.
Thanks in advance.
Tagged:
Best Answer
-
David Atkinson Posts: 1,458 Rose Gold 2What's preventing you from adding column D to the source?David Atkinson
Product Manager
Redgate Software
Answers
Product Manager
Redgate Software
How can i remove the column drop statement in our Sql compare while generating the scripts. is there any option
Product Manager
Redgate Software