Solved

Cannot change data types in SQL Server 2008

Posted on 2008-09-29
3
1,507 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
3 Comments
 
LVL 60

Accepted Solution

by:
chapmandew earned 500 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Count with a subquery showing details 10 44
export sql results to csv 6 36
Text file into sql server 5 27
Need help with a Stored Proc on Sql Server 2012 4 11
I have written a PowerShell script to "walk" the security structure of each SQL instance to find:         Each Login (Windows or SQL)             * Its Server Roles             * Every database to which the login is mapped             * The associated "Database User" for this …
In this article I will describe the Detach & Attach 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.
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

809 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