The present patent application relates to a process for the preparation gemcitabine or a salt thereof. More particularly it relates to preparation of 3,5-dihydroxy protected -2-deoxy-2,2-difluoro -1-oxoribose, an intermediate used in the preparation of gemcitabine and its salts by using cyclohexylidene or cyclopenty...