?
Solved

Cannot change data types in SQL Server 2008

Posted on 2008-09-29
3
Medium Priority
?
1,518 Views
Last Modified: 2012-05-05
I need to change a column from Real to Money, but when I try to do so I get the message:-

Saving changes is not permitted. The changes you have made require the followilg tables to be dropped and re-created. You have either made changes to a table that can't be recreated or enables the option Prevent Saving Changes that require the table to be re-created
0
Comment
Question by:grwallace
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 60

Accepted Solution

by:
chapmandew earned 2000 total points
ID: 22599174
try this instead (through tsql)

alter table tablename
alter column yourcolumnname MONEY

0
 

Author Closing Comment

by:grwallace
ID: 31501295
Perfect - Thanks
0
 

Expert Comment

by:adurve
ID: 23565431
u r great man I got lots of ans like modify and all different but just ur work fine thanks a lot  
0

Featured Post

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

Naughty Me. While I was changing the database name from DB1 to DB_PROD1 (yep it's not real database name ^v^), I changed the database name and notified my application fellows that I did it. They turn on the application, and everything is working. A …
In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

762 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