Take a look at TRUNCATE LOG in SQL Server Help.
>Hi all:
>
> When I run a nightly batch, I notice in the SQLdata directory that an MDF file is created that records the logs of transactions that occur while my transaction was running. This MDF file can be very big. Is there a way that I can prevent this MDF from being created or is there no way to prevent it?
>
>Thank you.
Hector Correa