create server routine to convert timestamp to string format
Posted: Thu Aug 17, 2017 9:11 am
Hi all
I have a parallel job, one argument requires a timestamp value in string format with "DD-MM-RRRR HH24:MI:SS" pattern.
for one of the sequence job i created, i need to pass the current timestamp (DSJobStartTimestamp) in, but the default format is "RRRR-MM-DD HH24:MI:SS", as I can't use TimestampToString function in sequence, i am planning to create a server routine to convert DSJobStartTimestamp into "DD-MM-RRRR HH24:MI:SS" format string. can anyone help me with it? i have little knowledge about routine.
and also can someone suggest good basic/parallel routine tutorials?
thanks
I have a parallel job, one argument requires a timestamp value in string format with "DD-MM-RRRR HH24:MI:SS" pattern.
for one of the sequence job i created, i need to pass the current timestamp (DSJobStartTimestamp) in, but the default format is "RRRR-MM-DD HH24:MI:SS", as I can't use TimestampToString function in sequence, i am planning to create a server routine to convert DSJobStartTimestamp into "DD-MM-RRRR HH24:MI:SS" format string. can anyone help me with it? i have little knowledge about routine.
and also can someone suggest good basic/parallel routine tutorials?
thanks