Modify the design of the table that requires the table to be re-created.

Usually, by default, Sql Server doesn’t allow you to modify the definition of a table which requires the table to be re-created. It gives the following error (say for table empMasterCopy):

It means that you have to manually drop & create the table. However, that’s merely a validation put up by the Sql Server as it can be done without manually dropping & creating the table. See the steps below.

Go to Tools -> Options -> Designers
Uncheck the option highlighted in the image below.

Now the Sql Server will re-create the table for you whenever it’s required.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s