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

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

dr223
Constraint Violating Yak Guru

388 Posts

Posted - 12/11/2012 :  12:27:52  Show Profile  Reply with Quote
Hi,
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..

Thanks

sodeep
Flowing Fount of Yak Knowledge

USA
7174 Posts

Posted - 12/11/2012 :  13:22:02  Show Profile  Reply with Quote
Your transaction is full.you 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

prett
Posting Yak Master

USA
200 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
  Previous Topic Topic Next Topic  
 New 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.06 seconds. Powered By: Snitz Forums 2000