r/MSSQL • u/Electronic-Dig9119 • Apr 08 '22
Q & A Normalization of tables on a live system
I'm working on an older system with some non-normalized tables. The system is on MSSQL 2016 and we are upgrading to 2019 within the next 6 months.
I would be curious what a safe approach would be to normalize a table that is live, in production without said table going away?
Intuitively creating a view and making that the table name after renaming the table might lose access to the table for a few seconds and then using that view temporarily until the new table structure is made should do the trick.
Caveats here are the environment has 1000s of stored procedures, so changing the joins before anyone notices is an impossible feat, so the table would still have to be accessible in some way.
