Solved

transaction log

Posted on 1998-09-28
3
292 Views
Last Modified: 2010-03-19
how do i DUMP a log?
0
Comment
Question by:bufordk
3 Comments
 
LVL 2

Accepted Solution

by:
Jim_SQL earned 10 total points
ID: 1090312
Hi,
to clear it out:
     dump transaction DBName with no_log

to dump to a device:
     dump transaction DBName to DumpDevice

For more info do a search on "Dump Statement" in books online.

Hope this helps.
Jim

0
 

Author Comment

by:bufordk
ID: 1090313
the dump statement in the books shows it in c++ and V.B.
i was running

dump transaction (dvname_dev#)
how do i dump to a device and what device would it be? do i create it?
0
 
LVL 2

Expert Comment

by:connex
ID: 1090314
DUMP TRANSACTION DBTest to DISK = 'C:\TRANS.DMP'
e.g.

Or to a device you create.
It's all eplained in the DUMP-Help page in Transact SQL-Help

0

Featured Post

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Having an SQL database can be a big investment for a small company. Hardware, setup and of course, the price of software all add up to a big bill that some companies may not be able to absorb.  Luckily, there is a free version SQL Express, but does …
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

726 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