China Naming Network - Ziwei Dou Shu - What do the exec sp_rename 'b' and 'a' in the following SQL statement mean? Mainly means exec

What do the exec sp_rename 'b' and 'a' in the following SQL statement mean? Mainly means exec

exec sp_rename 'b', 'a'?

Rename table b to table a

sp_rename stored procedure meaning:

Change the name of a user-created object in the database

Exec interpretation means:

Execute the command string, string in the Transact-SQL batch, or execute one of the following modules: System stored procedure , user-defined stored procedure, scalar value user-defined function, or extended stored procedure.

If you have any questions, you can ask and I will answer them promptly.

I hope I can help you!