Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
"Select x,y,z from table A JOIN table B ON x=x and '"+context.YourDateParameter+"' between startdate and enddate"
In tSetGlobalVar_1 , I have set startDate = "2014-08-01"
String dt_string = "";
Date current_dt = TalendDate.parseDate("yyyy-MM-dd", (String)globalMap.get("startDate"));
current_dt = TalendDate.addDate(current_dt, 1, "dd");
dt_string = current_dt.toString();
globalMap.put("startDate", dt_string);
dt_string = current_dt.toString();
dt_string=TalendDate.formatDate("yyyy-MM-dd", current_dt);