SQLRefactor - SMART RENAME - Table with SchemaBound View

pkayleypkayley Posts: 2 Bronze 1
edited August 19, 2010 2:14PM in SQL Refactor Previous Versions
I've not had much cause to use SMART Rename feature within my Toolbelt until now - but what a brilliant utility this is

I did encounter one problem however - when trying to rename a table which was used in a View with SCHEMABINDING.

This prevented the table from being renamed and meant that the transaction rolledbac.

I was Simply able to overcome this by scripting & dropping the offending view -

But as an enhancement it may be worthwhile including in the WARNINGS TAB any SCHEMA Bound Views - on the 2nd page of the WiZARD.

Thanks for another time-saving goody from Redgate


Sign In or Register to comment.