How can we help you today? How can we help you today?
Michelle T
I can't reproduce your problem here - whenever Compare creates or alters a stored procedure in a script database for me, I always end up with a CREATE PROC or CREATE PROCEDURE statement, never an ALTER PROC or ALTER PROCEDURE statement. The only way I could get ALTER PROC statements out of it was to compare to a snapshot or live database and save the script from there. Do you mean that the scripts were coming out with ALTER PROC statements (no CREATE PROC statements), or do you have stored procedures with CREATE statements in which are being changed, or do you mean that Compare scripts out CREATE PROC statements as if they were ALTER PROC statements which occasionally introduces differences? Also, note that SQL Compare can't reliably reproduce what SQL Server does to whitespace in stored procedures, so if you have turned the option Ignore Whitespace off, you might notice spurious differences in your stored procedures. If you're still having the problem with Ignore Whitespace turned on, we'd appreciate a 'before' and 'after' of the affected stored procedures (or a sample case that demonstrates the problem if you can't share the originals with us). You can email them to michelle.taylor@red-gate.com if you're willing. Regarding the defaults, SQL Compare does not consider the parentheses to amount to a difference which is show in the top pane (if your table is showing different then there is most likely some other difference in it - if there isn't, we'd like to know). The SQL Differences pane only does a textual comparison (for speed reasons) and hence shows up the parentheses as a difference even though the main comparison does not consider them as such. (SQL Compare can't reliably reproduce the bracketing of defaults and similar because their appearence in the live database depends on a range of factors we don't have access to, like whether the database was originally a 2000 database.) / comments
I can't reproduce your problem here - whenever Compare creates or alters a stored procedure in a script database for me, I always end up with a CREATE PROC or CREATE PROCEDURE statement, never an A...
0 votes
There's a project option, 'Ignore Statistics', that you can get to via the 'More Options...' button on the Options tab in the dialog you use to set up the connection to the databases you're comparing (headed 'Project Configuration'). / comments
There's a project option, 'Ignore Statistics', that you can get to via the 'More Options...' button on the Options tab in the dialog you use to set up the connection to the databases you're compari...
0 votes