Truncate Table Salesforce

List<HDT_FulfillmentDateMatrix__c>  delmarker = new List<HDT_FulfillmentDateMatrix__c>(); 

delmarker=[select id from HDT_FulfillmentDateMatrix__c];           
            
delete delmarker;