NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform. You will still be able to view content, but posting and replying will be temporarily disabled.
We're excited to launch our new Community experience on July 30 and more information will follow soon.
Stay connected during the transition - Join our Discord community today.

Active IQ Unified Manager Discussions

Date time serialization

olson
3,978 Views

Greetings,

                     This is pretty much a sql question however it is behaving differently in mysql workbench and WFA. Here is my query.

SELECT round((CURRENT_TIMESTAMP() + 0),0) as datetm;

In sql workbench it returns correctly in WFA it returns in Scientific notation. Is it possible to force large int notation? I could probably break it up and do date and time and concatenate it during string building. Unless someone has another way to setup a date code?

Many thanks for your time.

John

1 REPLY 1

sinhaa
3,978 Views

You didn't mention what scientific notation is returned by WFA and where? I've tried this as a User-Input query and I get the result on format : yyyyMMddhhmmss

SQL yog returns the same. DB visualizer returns as: 2.0140819014506E13

So perhaps the client formats the output before displaying it.

If this post resolved your issue, help others by selecting ACCEPT AS SOLUTION or adding a KUDO.
Public