In SQL Server, I have a database abc
. In this database I have hundreds of tables. Each of these tables is called xyz.table
I want to change all the tables to be called abc.table
.
Do we have a way by which I can change all the names from xyz.table
to abc.table
in database abc
?
I am able to manually change the name by changing the schema for each table to abc
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…