Improve company productivity with a Business Account.Sign Up

x
?
Solved

Dump Transaction log

Posted on 1998-08-15
1
Medium Priority
?
1,262 Views
Last Modified: 2008-02-26
I am trying to export some tables from access into sqlserver 6.5,when i export using the odbc an error message comes up saying logsegment is full dump transaction log,how do i do that exactly and how do i give it more room,because i have alot of table to put in the sql server.
0
Comment
Question by:turbo1
1 Comment
 
LVL 2

Accepted Solution

by:
mvz121697 earned 300 total points
ID: 1089577
Log files are cleaned up when de database is backupped.
You can also delete the log-entry's yourself:
- Through SQL-Enterprise Manager, just double-click the database and there is a button 'Truncate log' or something.
- Or you can issue the 'DUMP TRANSACTION WITH TRUNCATE_ONLY' command

You can also make SQL-Server delete the log-entrys as soon as they are written to the database, by issuing the SQL-command:

EXEC sp_dboption databasename 'trunc. log on chpt.',true

If you do this and still get the error, then you have to make the expand the logspace of your database.
   
0

Featured Post

Build your data science skills into a career

Are you ready to take your data science career to the next step, or break into data science? With Springboard’s Data Science Career Track, you’ll master data science topics, have personalized career guidance, weekly calls with a data science expert, and a job guarantee.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
What if you have to shut down the entire Citrix infrastructure for hardware maintenance, software upgrades or "the unknown"? I developed this plan for "the unknown" and hope that it helps you as well. This article explains how to properly shut down …
Via a live example, show how to setup several different housekeeping processes for a SQL Server.
Stellar Phoenix SQL Database Repair software easily fixes the suspect mode issue of SQL Server database. It is a simple process to bring the database from suspect mode to normal mode. Check out the video and fix the SQL database suspect mode problem.

607 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question