Iam having only read permission on my database in SI Environmenti need to simulate foreign key constraint error whichoccured in production to my SI Environment(Read permisssion only i have)how do i simulate?Done so far :CREATE TABLE #PARENT(pid int not null constraint pk primary key)Create table #child(cid int not null constraint pk1 primary key,pid int not null constraint fk foreign key references #parent(pid))
error occurred :Skipping FOREIGN KEY constraint 'fk' definition for temporary table.