Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Register Now and get your question answered!
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Log File
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Constraint Violating Yak Guru

444 Posts

Posted - 12/11/2012 :  12:27:52  Show Profile  Reply with Quote
I working with SQL Server 2005.

I have a table called dbo.files which has a field filesize data type int.

I changed the data type to bigint and saved the table successfully.

Then I open the table and increased the filesize of one record from 30 to 21073535353.

It was fine...

Then I returned the value back to 30 and saved.

Now, I wanted to change the bigint to int.

I receive the error...
'files' table
-Unable to modify table.
The transaction log for database 'gprddevelopment' is full. To find out why space in th elog cannot be reused, see the log_reuse_wait_desc column in sys.databases

Any help please..


Flowing Fount of Yak Knowledge

7174 Posts

Posted - 12/11/2012 :  13:22:02  Show Profile  Reply with Quote
Your transaction is need shrink it. Are you using transaction log backup? if not you can change it to simple recovery model so log doesn't grow huge.
Go to Top of Page

Posting Yak Master

212 Posts

Posted - 12/17/2012 :  01:50:40  Show Profile  Visit prett's Homepage  Reply with Quote
The error message is telling to look in the sys.databases table for more info. Let's do that by following command:

SELECT log_reuse_wait_desc FROM sys.databases WHERE [name] = 'tinylogtest';

Please post the result here!!
Go to Top of Page

Starting Member

5 Posts

Posted - 11/07/2014 :  05:15:08  Show Profile  Reply with Quote
Recovery Toolbox for SQL Server
make sure you read this
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.09 seconds. Powered By: Snitz Forums 2000