Don't compare EXECUTE AS
AdamR
Posts: 19
How do I not compare the execute as on triggers and procs? I also am looking for how not to compare FOR versus AFTER on the trigger keyword.
Comments
This isn't possible with the current version, but we might be able to add an option. Is it common for you to have the same stored procs executed under a different security context on different databases?
Again we could have an option, but I would think this is a very significant difference that you would always want synchronized. Could you give me an example of a situation where you would want to ignore this difference?
So, when comparing to our previous versions, it flags all these as differences, so I don't really care about them. Obviously, that is kind of our issue, because our old version wasn't properly formatted. So, I guess I was just looking for a way to specify an algorithm or a way to exclude certian things. You can filter out certain objects, but it would be cool to filter out things like CASE for creation statements, or ignore EXECUTE AS or at least if none is specified it matches it to the default.
As a side note, one other thing we do have is our customers can create tables and columns in our database. These are prefixed with ud so, with the algorithm theory, I would want to say ignore all columns that start with [x]* or whatever.
Unfortunately there's no way to currently filter out individual columns for any reason - table comparisons are all-or-nothing.
Redgate Software