C4 has a contraint that does not allow nulls. You did not provide any info about it so you may have to insert something in that field at the same time or take the constraint off.
I don't see a C4 in your script. Is there more of the script that you didn't post? Or is there a trigger on the table that updates C4 when other columns are updated?
-SQLBill
The following is part of my signature block and is only intended to be informational.
Posting advice: FAQ481-4875
Thanks all, C4 was not mentioned as I only want to merge data into a few columns C2. It's now sorted, slight typo, and a little more understanding around join.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.