Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Code flow not going to while loop

by runrig (Abbot)
on Aug 02, 2017 at 22:26 UTC ( #1196596=note: print w/replies, xml ) Need Help??


in reply to Code flow not going to while loop

Try explicitly converting the character string to a date with the to_date(...) function (I think that's the correct function in DB2, anyway).

Replies are listed 'Best First'.
Re^2: Code flow not going to while loop
by chacham (Prior) on Aug 03, 2017 at 03:23 UTC

    Try explicitly converting the character string to a date with the to_date(...)

    Good idea. TO_DATE() is a synonym for the TIMESTAMP_FORMAT. Being clearer, i would use the latter.

    Judging from the documentation, he could just go all the way with TIMESTAMP_FORMAT(?, 'YYYY-MM-DD HH24:MI:SS').

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1196596]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (2)
As of 2019-04-20 06:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I am most likely to install a new module from CPAN if:
















    Results (108 votes). Check out past polls.

    Notices?
    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!