in reply to Re^2: Code flow not going to while loop
in thread Code flow not going to while loop

Seems like TIMESTAMP can take a 2nd argument for microsecond precision so try

SELECT DISTINCT Fid_Cust FROM Session WHERE Dat_End BETWEEN TIMESTAMP(?,0) AND TIMESTAMP(?,0)
  • Comment on Re^3: Code flow not going to while loop