I have below apex batch query string which fails to execute for which seems to be an issue with escape character required. Can someone help me here?
global Database.QueryLocator start(Database.BatchableContext bc) {
Date d = Date.today();
String soql = 'SELECT Id, Name, Publish_Date_abv__c FROM Compliance_Incident_abv__c' +
' WHERE Publish_Date_abv__c+14 =: d';
// above line fails to execute
return Database.getQueryLocator(soql);
}