Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

update a column advise

Status
Not open for further replies.

shresthaal

Programmer
Jun 8, 2005
62
US
i have to add a column to a table that is currently being used by a website to add records

i would like to know if it is ok to alter the table and add the column or if i should do it when the table is offline

there is about 3 million rows in the table
 
If you are using SQL Enterprise Manager to do editing/ design, I find its no problem at all to add while online.

All existing rows wil have a <null> value for thenew column even if you specify a default value, so you might have to do a quick update.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top