Generate relationship for renamed table
A table can be renamed by using a system procedure in SQLServer/AzureSQL called sp_rename. In the following sample procedure, a table gets renamed from EmployeeSales
to FactEmployeeSales
followed by INSERT from the renamed table:
Result:
With Oracle, ALTER TABLE table_name RENAME [TO|AS] new_table_name
is used to rename a table.
Result:
Last updated