Sveiki, Svečias  Ieškoti  | Active Discussions  | Nariai  | Prisijungti  | Registruotis 

SQL Server 2008 Designer Behavior Change: Saving Changes Not Permitted Funkcijos 
Giedrius
Išsiųsta : Tuesday, December 29, 2009 10:54:29 AM

Rangas : Administration
Grupės : Administration

Prisijungė : 1/27/2009
Žinutės : 668
Taškai : -651
Vieta : Vilnius
I had been working in SQL Server 2008 for a number of months while working on the upcoming 2008 books and never had experienced this issue until just today. In hindsight, I can't imagine how I didn't experience sooner. The behavior change is when you save a table in Management Studio that requires the table be dropped and recreated behind the scenes, the change will fail by default with the below warning. In SQL Server, tables are dropped, recreated and reloaded automatically for you without having to worry about what's going on behind the curtains but this may create issues for some users. This behavior is required upon a number of actions but most common is creating a new column in a specific location in the table.

Warning Message:

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.



This is by design and can be quickly fixed in Management Studio by unchecking a property. To fix this in Management Studio, go to Tools -> Options then go to the Designer Page and uncheck "Prevent saving changes that require table re-creation".





-- Brian Knight
Rėmėjai 
Išsiųsta : Tuesday, December 29, 2009 10:54:29 AM
Vartotojai peržiūrėti šią temą 
Guest


Forumas Peršokti 
Jūs negalima po naujų temų šiame forume. 
Jūs negalima atsakykite į temas šiame forume. 
Jūs negalima ištrinti savo pranešimų šiame forume.
Jūs negalima redaguoti savo pranešimų šiame forume. 
Jūs negalima kurti apklausos šiame forume. 
Jūs negalima balsavimui apklausos šiame forume. 

Main Forum RSS  : RSS

YAFPro Theme Created by Jaben Cargman (Tiny Gecko)
Powered by Yet Another Forum.net versija 1.9.1.8 (NET v2.0) - 3/29/2008 
Copyright © 2003-2008 Yet Another Forum.net. All rights reserved.
Šis puslapis buvo sugeneruotas per 0.076 sekundes.