+ 1

How to change a table name?

9th Sep 2019, 8:38 AM
sami ayar
sami ayar - avatar
3 ответов
+ 6
ALTER TABLE table_name RENAME TO new_name ~ A Google Search
9th Sep 2019, 8:46 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 2
sp_rename 'old_table_name' 'new_table_name' For example, if you want to rename table company as table employee, then: sp_rename 'company' 'employee'
9th Sep 2019, 9:59 AM
Chetali Shah
Chetali Shah - avatar
0
ha....ha.....haha
21st Sep 2019, 4:53 AM
hiren