Link to home
Start Free TrialLog in
Avatar of rmartes
rmartes

asked on

SQL Server 2005 - Unable to modify table structure - Transaction log full???

Hi Experts,

I have a database hosted on Network Solutions. I am trying to add new columns to a really large table, but I am getting an error stating "unable to modify table - transaction log full...."

I ran "BACKUP LOG mydb WITH TRUNCATE ONLY" on the database using ms sql server 2005 express, but no luck....

Is there something I can do or try on my end using ms sql server express to fix this error, or does Network Solutions have to fix this on the database settings end?

Thanks in advance
Avatar of momi_sabag
momi_sabag
Flag of United States of America image

just make sure that you add a column with a default value (for example null)
otherwise, SQL Server might have to update that value to all existing records and that might cause you the log work
Avatar of rmartes
rmartes

ASKER

I am doing that. I am trying to add a new column named Age - varchar(10) - default value null
ASKER CERTIFIED SOLUTION
Avatar of Scott Pletcher
Scott Pletcher
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rmartes

ASKER

By GUI, I tried Alter column and it worked just fine. Thanks so much.