BACKUP LOG cannot be performed because there is no current database backup I have a SQL Server 2005 database using the full recovery model. If I execute the following commands:

ALTER DATABASE test SET RECOVERY SIMPLE;
ALTER DATABASE test SET RECOVERY FULL;


or 

BACKUP LOG test WITH  truncate_only;


Then try to run a log backup:

BACKUP LOG test TO  DISK = 'backupfile.bak'


I receive the error message:


  BACKUP LOG cannot be performed because there is no current database backup.


Question:   

How do I check that I will not be able to take a log backup, without running a backup log command?
last_log_backup_lsn will be null in sys.database_recovery_status.