I am using
select database_name,database_creation_date,backup_start_date,backup_size
from backupset order by database_name,backup_size desc
to get the bacup size information. I get the information.
I want to select a subset of records which give me information for backupset
for one day of every month (10-???-200?). I.e monthwise backup set
information for 10-jan, 10-feb-10-mar....etc). When I issue FOLLOWING COMMAND
select database_name,database_creation_date,backup_start_date,backup_size
from backupset WHERE BACKUP_START_DATE LIKE '10-???-200?) order by
database_name,backup_size desc
I do not get the desired result. What is correct sql query?

Signature
ontario, canada
> I have information about all database backups for last two years (Including
> database size in table Backupset in MSDB.
[quoted text clipped - 11 lines]
> > Thanks
> > ontario, canada
Tom Cooper - 11 Mar 2008 19:05 GMT
Select ...
Where BACKUP_START_DATE >= '20000101' And Day(BACKUP_START_DATE) = 10
Tom
>I am using
>
[quoted text clipped - 32 lines]
>> > Thanks
>> > ontario, canada