I am getting this error.
Msg 9002, Level 17, State 4, Line 2
The transaction log for database 'SalesDWH' is full. To find out why space in the log cannot be reused, see the log_reuse_wait_desc column in sys.databases
When I look at this column log_reuse_wait_desc it just says NOTHING
I use this code and got the error:
use SalesDWH
go
ALTER TABLE npidata
ALTER COLUMN npi varchar(20)
I am just changing NPI column from varchar(80) to varchar(20)
The following code gives me the same error message:
insert into npidata1 select * from npidata
The recovery mode is SIMPLE
autogrowth is set to NONE
autoshrink is set to true
What else can I do?
To my understanding the logs should just be truncating every time they are getting too big.
What am I doing wrong?