database - How to change the column order in a SQL Server Compact Edition table schema? -


I designed a SQL Server Compact Edition database (* .sdf) for Visual Studio I am using 2008. ). I had to change a schema from my table to add a new column

I want to move that column down to a different location in the "list". How can I do this in Visual Studio Designer?

Edit: I know that from a pure technical perspective it does not make any difference in the order of the columns. I am prototyping an application, so I have to change the schema several times. For example, for example I would have to change the primary key, it would eventually be "ugly" to be the most important column. Other developers looking at the code will be confused, I think. This is a matter of aesthetics.

You can not just take it into the designer, you have to create a new column, old Drop the drop, generate the script and edit the script where it will be included in the temporary table from the old table, so that the old column values ​​(in the selection) will go to the new column.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -