NBajanca
NBajanca

Reputation: 3720

“Prevent saving changes that require the table to be re-created” Microsoft SQL Server

I was modifying a column in SQL Server 2016 Management Studio (SSMS) and got the error:

The changes you have made require the following tables to be dropped and re-created

I'm testing and so I don't have any problem with dropping and re-creating new tables. Where is the option to disable this error?

Upvotes: 2

Views: 6542

Answers (2)

Jeevan Shinde
Jeevan Shinde

Reputation: 1

Sql Server Prevent Saving Error in Server 2019To change the Prevent saving changes that require the table re-creation option, follow these steps:

Open SQL Server Management Studio.

On the Tools menu, click Options.

In the navigation pane of the Options window, click Designers.

Select or clear the Prevent saving changes that require the table re-creation check box, and then click OK.

Upvotes: 0

NBajanca
NBajanca

Reputation: 3720

Tools --> Options --> Designers --> Table and Database Designers

In here you will find the following checked option:

Prevent saving changes that require table re-creation

Just uncheck it!

Upvotes: 7

Related Questions