?
Solved

transaction log

Posted on 1998-09-28
3
Medium Priority
?
302 Views
Last Modified: 2010-03-19
how do i DUMP a log?
0
Comment
Question by:bufordk
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 2

Accepted Solution

by:
Jim_SQL earned 20 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

Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

Question has a verified solution.

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

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.
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
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.
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Suggested Courses

762 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