I've created a database project in my solution in Visual Studio 2013 and imported a database from a SQL server. I then did a SQL compare; the source is the database, the destination is the database project. The compare results are showing that one of my tables has changed. The only changes I see are differences in formatting, so I told it to update the destination. It did the update, I ran a new compare, and it is showing me that the same table has the same differences. Here are some example of differences:
- The left side has content on three consecutive lines, the right side has one or two blank lines within the content -- lines 56, 58, and 59 are blank.
- The left side is has content formatted on three lines:
FOR INSERT,
UPDATE,
DELETE
whereas the right side has that same content on one line:
FOR INSERT, UPDATE, DELETE - The left side has no trailing semicolon:
FROM deleted
whereas the right side does have a trailing semicolon:
FROM deleted;
How do I get to a point where the compare says "everything is the same; no differences"? I haven't modified the table in my local database project; does anyone know why Visual Studio is saving it in a different format, and what I can do about it? The "Ignore whitespace" checkbox is checked.