)SELECT deposit, PTDOPNDAT,TDXPRDAT, TDDURATN,TDINTDAY, EndDateFROM CTEORDER BY 1I tryed to write one but I get error .i'm new to cteTypes don't match between the anchor and the recursive part in column "EndDate" of recursive query "CTE".

Yes.exactlyat that time sqlteam.com site started to be crazythe page wouldn't be loaded properlyand after that there was a message related to " log "I don't remember what was message.I thought our network was a problem.but.. It's strangethose ??? in the code is Persian character that it is not showed here.how can I change itwhom I can talk to about this problem?