Question on the dependent objects and privileges when a table is renamed.
This is a very basic question but I need to get some facts clarified.
I am renaming a table (first I created a table 'ABC_1', Populated that table with an 'insert into...' statement from the original table 'ABC', then I dropped the table 'ABC' and rename table 'ABC_1' to 'ABC'). In this process what happens to the dependent objects? The views, procs and triggers become invalid thus I need to recompile them. The synonyms stay the same. WHat happens to the privileges on the table? Do I need to regrant them? AM I missing anything that needs to be done.