Hi @Neha Dwivedi Thank you for posting your Question on Microsoft Q&A.
What are you trying to achieve here?
If the intent is to perform online renaming of tables to ensure there is no locking on the tables while rename operations are performed, views may not help since views in turn will query the underlying tables which are being renamed but if the goal is to abstract the queries from the underlying tables and change the views on the fly to point to the new tables, views is the right path forward.
Hope that help
Regards,
Oury