sql server - Any consequences when re-creating a table? -


if want extend column length 30 60 characters varchar column in sql server management studio, have uncheck box prevent saving changes require table re-creation.

are there side effects doing table re-creation? reset identity or increment seed, loose indices or find other unwanted effects?

i need on live db , don't want find out hard way has changed.

this metadata change not require rebuilding table.

alter table yourtable alter column yourcolumn varchar(60) [not] null 

regarding question "are there side effects doing table re-creation" through gui.

it unnecessary overhead in case , block concurrent users until table copied , recreated. additionally designer has known bugs when doing (e.g. drops filestream attribute columns)


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -