In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
Once the tables in the SQL Server database are created, we do not recommend adjusting the order of the columns without authorization, especially when the corresponding application system is online, because some developers do not necessarily specify the column names in the code. Whether the table can adjust the order of the columns can actually be set on its own, and we recommend that it be set to forbidden after installation.
So, if we do need to adjust the order of a column, how do we do it? Next, we will demonstrate how to remove this restriction. Of course, through the demonstration of removing restrictions, I believe you all know how to add restrictions.
Requirements and problem description
1) Test table Test001
(2) before updating
(3) for example, the requirement is to adjust the sequence of SN5 and SN4
Click Save Times error
Prompt when modifying database table structure [changes are not allowed to be saved. The changes you made require that the following table be deleted and recreated. You have made changes to tags that cannot be recreated or enabled the prevent saving changes that require table recreation. ]
Treatment method
Step 1 is in the SSMS client, click the menu [tools] and select [options]
Step 2 opens the options dialog box, and we expand the designer [Designers]
Step 3 cancel the [prevent saving changes that require table recreation] check box
Step 4 adjusts the column order again to modify the OK
Summary
The above is the sequence operation method and problems encountered in the SQL Server database adjustment table introduced by the editor. I hope it will be helpful to you. If you have any questions, please leave a message for me. The editor will reply to you in time!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.