SQL Server数据格式修改时没有保存按钮怎么办?

数据库 SQL Server
我们今天要和大家一起分享的是SQL Server数据格式修改时没有保存按钮这一情况的实际解决方案,下面就是文章的主要内容。

以下的文章主要向大家讲述的是SQL Server数据格式修改时没有保存按钮这一情况的解决,如假如你所使用的是 SQL Server 2008, 当你修改相关的数据结构后,保存时会报下图情况:

\

Saving changes is not permitted. The changes 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.

这是 SQL Server 2008 的一种自我保护,当你的修改可能导致数据表被删除并重新创建时(dropped and re-created),就会有这个提醒。

导致表被重新创建可能是以下几种情况:

在表中间添加一个新列;

删除列

更改列为 Null 性

更改列的顺序

更改列的数据类型

若要不使用这个保护,需要在“工具”菜单中单击“选项”,展开“设计器”,然后单击“表设计器和数据库设计器”。 清除“阻止保存要求重新创建表的更改”复选框。

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.

如下图:

\

参考资料:

Save (Not Permitted) Dialog Box

上述的相关内容就是对SQL Server数据格式修改时,没有保存按钮的情况解决的描述,希望会给你带来一些帮助在此方面。

【编辑推荐】

  1. SQL server 2000 标准版、企业版的不同之处
  2. SQL Server 2000 JDBC驱动的正确安装步骤
  3. DBC连接SQL Server 2005中的问题有哪些?
  4. SQL Server 2005 版本的描述
  5. SQL Server参数化查询的概念与创建
责任编辑:佚名 来源: 互联网
相关推荐

2010-07-09 10:27:33

SQL Server数

2010-06-28 09:09:24

SQL Server

2022-04-22 10:30:07

框架JavaScript前端

2018-09-04 16:01:33

工作挑战性技术

2022-09-07 09:00:00

计算数据库

2021-01-05 10:48:38

RedisAOF日志RDB快照

2022-02-09 12:11:57

数据丢失数据恢复硬盘

2020-09-03 10:30:24

数据计算机视觉技术

2015-08-12 10:20:47

2015-11-06 10:14:36

APP虚拟服务器

2017-08-14 12:45:54

Windows 10Windows开机密码

2015-11-18 13:05:09

2021-10-29 22:43:32

Windows 10Windows微软

2018-01-28 20:39:39

戴尔

2019-10-12 09:50:46

Redis内存数据库

2022-07-05 11:48:47

MySQL死锁表锁

2010-07-23 12:55:29

SQL Server

2009-11-03 08:56:02

linux死机操作系统

2017-02-21 13:11:43

SDN网络体系SDN架构

2022-12-19 11:31:57

缓存失效数据库
点赞
收藏

51CTO技术栈公众号