Solved

transaction log

Posted on 1998-09-28
3
281 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Via a live example, show how to shrink a transaction log file down to a reasonable size.

792 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