N-doped ZnO thin films were deposited by pulsed laser deposition on SiO2/Si substrates. X-ray diffraction analysis revealed that the films had the wurtzite structure, and were highly oriented along the c-axis direction. Au and Al electrical contacts were deposited by sputtering on the top surface of the samples, forming a two-terminal structure in each case. The current-voltage characteristics of the two terminal structure, and the temperature dependence of the resistance switching effect, were studied in the 125-300 K temperature range. The results of these measurements are presented and discussed in terms of the different Schottky barrier heights, as well as in terms of interfacial defect-induced gap states.