select CONCAT(TASKID,"---",PARENTID) as TASK, 

       CONCAT(TASKNAME,"---",TASKDESC,"---",TASKTYPE) as TASKNAME, 

       PSPCODE, ESTEFFPH, ESTEUR, 

       CONCAT(DATE_FORMAT(STARTTIME,'%Y-%m-%d'),"---",DATE_FORMAT(ENDTIME,'%Y-%m-%d')) as 'Von-Bis', 

       TASKRESP, 

       TASKATTRIB from CCTASK 

 where PROJECT=?