Get Latest does not "force column order"
geno.prida
Posts: 3
Is there any way to force column order when doing a Get Latest?
Also, is there anyway to have custom filters like SQL Compare?
Also, is there anyway to have custom filters like SQL Compare?
Comments
Regarding filtering, we're working on specifying this feature now. Could you please describe which objects you'd like to filter out. Would you like to filter these objects so they never reach source control, or would you just want to exclude them from the commit list?
Kind regards,
David Atkinson
Red Gate Software
Product Manager
Redgate Software
We have several databases with some being very large in number of objects and it is very important to our organization that we are working from the exact code that is to be released.
Additionally, if you don't have a mirror image of the source controlled code do you really have the "latest"?
Thanks for highlighting this to us! Keep the feedback coming.
David
Product Manager
Redgate Software
We've been using SQL source control for a few months now and have recently noticed this issue.
Not syncing the column order is a big issue.
We've just had an issue where a developer had an INSERT that just listed the data to be inserted. This worked fine when they tested it and then failed when the stored procedure was promoted live as the developer didn't have the correct column order.
Whilst I understand that this is bad practice (and we have changed the SP), it does happen and it is valid.
This issue undermines the source control if the tables are not a mirror image.
Have you any indication as to when this feature may be implemented?
Thanks
We'll do our best!
In the meantime please make sure that your insert statements reference the column names explicitly.
Kind regards,
David
Product Manager
Redgate Software