I established a bunch of relationships with foreign keys in a database. the relationships and constraints were saved. but when I add them to the diagram I receive the error: “string or binary data would be truncated”.
I initially added the relationships with the diagram tool. When I was unable to save it I tried both reopening the diagram and creating a new one. In both cases I am unable to save the diagram.
I established a bunch of relationships with foreign keys in a database. the relationships
Share
Delete all of your diagrams, and then delete the sysdiagrams table. The next time you try to add a diagram it should prompt you to recreate it.
I believe there was an incompatibility between SQL 2005 and SQL 2008, where the fields in 2005 were smaller, so if you tried adding a 2008 diagram you’d get truncation issues