Click here to Skip to main content
16,012,316 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
When ever we create database from sql server, it's create two file. I want to see what's available inside the .ldf file. Through program (with visula basic .net ). PLease guid me:confused::confused::confused:
Posted

As Simon_Whale has already said this is far too complicated to be able to give an answer in a forum like this.

Your only hope is to use Google/Bing/Yahoo and gather little bits of info about it and combine them until you find something that works.

There are a couple of commands that might get you started:-

DBCC - a transact-sql command. Use search for full details on this.
fn_dblog - an undocumented (meaning beware) SQLServer function. Here [^] is one article on it. Use search for more info.

There are plenty of articles out there on running Transact-SQL commands from VB. Search for them.
 
Share this answer
 
thats very complicated as the information isn't written in easy to read code.

your better of looking at using a log viewer from places such as redgate for example
 
Share this answer
 
Please Give me more information about it and more explain it.
do you know store procedure for doing this work??? :((
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900