วิธีแก้ไข SQL Server 2008 Error : Saving changes is not permitted.

เพิ่งเปลี่ยนมาใช้ SQL Server 2008 พอจะแก้ไข Table แล้วก็เจอ Error

Saving changes is not permitted. The changes that you have made require the following tables to be dropped and re-created. You have either made changes to a table that can't be re-created or enabled the option Prevent saving changes that require the table to be re-created.

ซึ่งเกิดจากระบบป้องกันการแก้ไข Table ของ SQL Server 2008 เอง เราสามารถปิด Option ตรงนี้ได้ครับ วิธีการดังนี้

  1. ดูที่  Tool bar ของ SQL Server 2008 ให้เลือก Tools >> Options
  2. จะมีหน้าต่างขึ้นมา ให้ดูทางด้านซ้าย ให้เลือก Designers
  3. มองหาคำว่า “Prevent saving changes that require table re-creation” แล้ว  uncheck และกดปุ่ม OK ครับ
You can leave a response, or trackback from your own site. Responses are currently closed, but you can trackback from your own site. You can skip to the end and leave a response. Pinging is currently not allowed. Both comments and pings are currently closed.
Powered by WordPress | Shop Free T-Mobile Phones Online | Thanks to Verizon Phones without Contract, MMORPG Games and Sell Car