How to change data type in SQL Server? -


I have a SQL Server 2008 database file ( .mdf ) I change some data types Like I like from float or something like this but I get this error:

here Enter image details

How to fix it?

Just change this option to SQL Server in Management Studio:

Menu & gt; Tools & gt; Options

Enter image details here

This option is turned on by default (for security reasons) and prevents any changes in the table structure for which it needs to completely rebuild the table (such as changing the data type of a column)

Comments

Popular posts from this blog

php - How to filter values fetched from database on the basic of comma included? -

excel vba - How to delete Solver(SOLVER.XLAM) code -

c# - Add Image in a stackpanel based on textbox input -