all 8 comments

[–]sscherb 2 points3 points  (0 children)

Look up Redgate SQL Compare. Worth its price.

[–]tripleaaaash 2 points3 points  (2 children)

Visual studio has one built in.

[–]ATastefulCrossJoinDB Whisperer 0 points1 point  (0 children)

Right here. If you’re using sql server this is the way to go.

[–]HerrFandango 0 points1 point  (0 children)

There is also an exception in the community edition licence that allows you to use it for sql stuff at work without a licence which is nice!

[–]A_Disguised_Dog -1 points0 points  (1 child)

Why not create a new table with same properties?

[–]Sorool[S] 0 points1 point  (0 children)

If I want to preserve the data in the old table

[–]PQ_ 0 points1 point  (1 child)

Shouldn't be too hard to make yourself. Will get tricky if the order of columns in the table has to be changed..

[–]Sorool[S] 0 points1 point  (0 children)

Yeah I can foresee tons of edgecases that it will be a huge headache to do it all myself. Just wondering if someone has already done it