The default option has been changed in SQL 2008, so that changes requiring dropping and recreating tables are not permitted dynamically. I guess this has been changed because
If you know that your table is small, and you want to be able to save changes, you can simply change the default action in the Tools / Options / Designers settings and uncheck the "Prevent saving changes that require table re-creation" option.
Warning, don't use this to make changes to very large tables. For very large tables, I suggest you manually create the new table and use SSIS to load the new table from the old table. Then drop the old table and rename the new table. Also remember to recompile your views on this table.
http://RichardLees.com.au
No comments:
Post a Comment