I am running SQLServer 2000.
I have a database which is in Simple recovery mode.
There is a DTS package which I run everynight which copies
data from an external data source.
However, it tells me that the transaction log for the
database is full.
I have put the following SQL task as the first step
in the package with the following sql :
backup log profis with truncate_only
go
dbcc shrinkdatabase(profis,20)
go
However, I still get the same error.
I tried the shrinkdatabase command in desperation because
the log back did not seem to make any difference.
I would appreaciate any feedback on this.
I have a database which is in Simple recovery mode.
There is a DTS package which I run everynight which copies
data from an external data source.
However, it tells me that the transaction log for the
database is full.
I have put the following SQL task as the first step
in the package with the following sql :
backup log profis with truncate_only
go
dbcc shrinkdatabase(profis,20)
go
However, I still get the same error.
I tried the shrinkdatabase command in desperation because
the log back did not seem to make any difference.
I would appreaciate any feedback on this.