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

Hmm... Maybe the client on your test server is supplying a default that the code is not. Let's take a look at TIMESTAMP.

A string of length 14 that is a string of digits that represents a valid date and time in the form yyyyxxddhhmmss, where yyyy is the year, xx is the month, dd is the day, hh is the hour, mm is the minute, and ss is the seconds.

You could provide that if you remove the spaces and colons.

If the arguments include only date information, the time information in the result value is all zeros.

I do not know if your code demands it, but all your times are zeroes. Meaning, you could just as well remove the time part and TIMESTAMP() will return the same result.

  • Comment on Re^5: Code flow not going to while loop