Still had one collate error on the order by clause of the structure compare part.
FIX: Added the collate statements for coalesce: order by coalesce(d1o.name COLLATE DATABASE_DEFAULT, d2o.name COLLATE DATABASE_DEFAULT), d1c.name
Log in to post a comment.