Hi All,
We are migrating from SQL 2005 Ent to SQL 2014 STD. We have Partitions in SQL 2005 (Database A) now as SQL 2014 STD(Database B) doesnot support partitioning I follow the below steps:
Remove Partitions by :
i)Removing FK constraint
ii) Removing Indexes both (Clustered and Non clustered)
iii) Create Clustered Indexes on Primary File group .
iv) Remove Partition Scheme and Function.
v) Apply Back all Indexes and FK constraints.Take backup and restore on SQL 2014 STDDatabase( Database B)
When i restored it I am missing some of the FK constraints which is linked with a table(Child table- Parent table Relationship withCHECKADD CONSTRAINT on Update Cascade option )and when I try to execute the script I am not being allowed to create it .
Msg 547, Level 16, State 0, Line 3
The ALTER TABLE statement conflicted with the FOREIGN KEY constraint "FK_UserInfo_Task_Profile". The conflict occurred in database "WorldCheck", table "dbo.Profile".
Please suggest me what would be the best way to resolve this issue .
Thanks in Advance..
Ramya