Click here to Skip to main content
15,909,324 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i'm trying to add a new column in a table . there is an error coming. i'm very new to Database and i'm totally failed to figure out why the problem is being occur.....!

" Saving changes is not permitted. the changes you've made require the following tablesto be dropped and re-created... "
Posted

This error occurs when you try to use the table-designer to handle changes - it is a tool that can't handle everything SQL allows you to do...
So what you have to do is do it by some DDL (Data Definition Language) query...in you case:
SQL
ALTER TABLE myTable ADD COLUMN newColum INT NULL

ALTER TABLE help page...[^]
 
Share this answer
 
Ahhh...

This old chestnut rears its head once again...

In SQL Manager, select from the menu bar

Tools -> Options

Navigate down to

Designers
Table and Database Designers


Uncheck the item

"Prevent Saving Changes That Require Table Recreation"

All done...
 
Share this answer
 
Comments
Ammar Shaukat 23-Mar-15 1:22am    
very very thank u brother...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900