?
Solved

MSSQLServer 2014 Difficult Schema change

Posted on 2017-11-14
2
Medium Priority
?
31 Views
Last Modified: 2017-11-14
I have a small MSSQL Server 2014 table with no records in it and wish to change an integer column to an identity column.
when I attempt to do so in the table Design window, I get an error as shown in the following image

If I copy the table to an MSSQL Server 2005 database I can change the column to an identity column without any error message and copy the table back to the MSSQL Server 2014 database and the change has been made.

In both cases I am logged in to the database as sa (system administrator) with all rights.
What is the problem with MSSQLServer 2014 ?


SQL Serve 2014 Error message
0
Comment
Question by:alcindor
  • 2
2 Comments
 
LVL 2

Accepted Solution

by:
alcindor earned 0 total points
ID: 42368433
I have discovered how to disable the option and fix the problem:
Change this option, on the Tools menu,
click Options, expand Designers,
and then click Table and Database Designers. Select or clear the
 "Prevent saving changes that require the table to be re-created" check box.

This was found on the following site:
Stack Overflow link
0
 
LVL 2

Author Closing Comment

by:alcindor
ID: 42368436
Discovered how to disable the option that was causing the problem
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article we will learn how to fix  “Cannot install SQL Server 2014 Service Pack 2: Unable to install windows installer msi file” error ?
A Stored Procedure in Microsoft SQL Server is a powerful feature that it can be used to execute the Data Manipulation Language (DML) or Data Definition Language (DDL). Depending on business requirements, a single Stored Procedure can return differe…
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Via a live example, show how to setup several different housekeeping processes for a SQL Server.
Suggested Courses

594 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question