SQL RENAME DatabaseSometimes you need to change the name of your datab dịch - SQL RENAME DatabaseSometimes you need to change the name of your datab Ireland làm thế nào để nói

SQL RENAME DatabaseSometimes you ne

SQL RENAME Database

Sometimes you need to change the name of your databasebecause of the original name was not more relevant to the data. Or, you just want to give a temporary name to that data.

SQL RENAME DATABASE statement is used to change the name of a database.

Let's see how to rename MySql and SQL Server databases.

Rename MySQL database

To rename the mysql database, you need to follow the following syntax:

RENAME DATABASE old_db_name TO new_db_name;
Rename SQL server database using T-SQL

This command is useful for SQL server 2005, 2008, 2008R2 and 2012.

ALTER DATABASE old_name MODIFY NAME = new_name
If you are using SQL server 2000, you can also use this command to rename the database. But, Microsoft phased out it.

EXEC sp_renamedb 'old_name' , 'new_name'
0/5000
Từ: -
Sang: -
Kết quả (Ireland) 1: [Sao chép]
Sao chép!
Bunachar Athainmnigh SQL Uaireanta is gá duit a athrú nach raibh an t-ainm do databasebecause ar an t-ainm bunaidh níos ábhartha do na sonraí. Nó, ba mhaith leat ach a thabhairt ar an t-ainm go sealadach leis na sonraí. ráiteas BUNACHAR SONRAÍ SQL athainmniú úsáidtear a athrú ar an ainm an bunachar sonraí. A ligean ar a fheiceáil conas a athainmniú MySQL agus SQL Server bunachar sonraí. Athainmnigh an mbunachar sonraí MySQL a athainmniú ar an mbunachar sonraí MySQL, is gá duit chun leanúint leis an error seo a leanas: BUNACHAR SONRAÍ old_db_name LE new_db_name Athainmnigh = mbunachar freastalaí SQL Athainmnigh ag baint úsáide as T-SQL Tá an ordú úsáideach le haghaidh SQL freastalaí 2005, 2008, 2008R2 agus 2012. old_name ALTER BUNACHAR SONRAÍ MHODHNÚ AINM = new_name Má tá tú ag baint úsáide as SQL freastalaí 2000, is féidir leat é a úsáid freisin seo ordú a athainmniú an mbunachar sonraí. Ach, de réir a chéile Microsoft amach é. sp_renamedb exec 'old_name', 'new_name'



















đang được dịch, vui lòng đợi..
 
Các ngôn ngữ khác
Hỗ trợ công cụ dịch thuật: Albania, Amharic, Anh, Armenia, Azerbaijan, Ba Lan, Ba Tư, Bantu, Basque, Belarus, Bengal, Bosnia, Bulgaria, Bồ Đào Nha, Catalan, Cebuano, Chichewa, Corsi, Creole (Haiti), Croatia, Do Thái, Estonia, Filipino, Frisia, Gael Scotland, Galicia, George, Gujarat, Hausa, Hawaii, Hindi, Hmong, Hungary, Hy Lạp, Hà Lan, Hà Lan (Nam Phi), Hàn, Iceland, Igbo, Ireland, Java, Kannada, Kazakh, Khmer, Kinyarwanda, Klingon, Kurd, Kyrgyz, Latinh, Latvia, Litva, Luxembourg, Lào, Macedonia, Malagasy, Malayalam, Malta, Maori, Marathi, Myanmar, Mã Lai, Mông Cổ, Na Uy, Nepal, Nga, Nhật, Odia (Oriya), Pashto, Pháp, Phát hiện ngôn ngữ, Phần Lan, Punjab, Quốc tế ngữ, Rumani, Samoa, Serbia, Sesotho, Shona, Sindhi, Sinhala, Slovak, Slovenia, Somali, Sunda, Swahili, Séc, Tajik, Tamil, Tatar, Telugu, Thái, Thổ Nhĩ Kỳ, Thụy Điển, Tiếng Indonesia, Tiếng Ý, Trung, Trung (Phồn thể), Turkmen, Tây Ban Nha, Ukraina, Urdu, Uyghur, Uzbek, Việt, Xứ Wales, Yiddish, Yoruba, Zulu, Đan Mạch, Đức, Ả Rập, dịch ngôn ngữ.

Copyright ©2024 I Love Translation. All reserved.

E-mail: