Quantcast
Channel: THWACK: All Content - Orion SDK
Viewing all articles
Browse latest Browse all 2677

Datetime precision is lost in SWQL Studio query

$
0
0

HI!

 

I have tried to build a simple query to fetch all EventTime from Event - table using the SWQL Studio (SDK 1.5).

 

The query is as simple as this:

SELECT EventTime FROM Orion.Events;

 

The result is returned as yyyy-MM-DD HH:mm:ss.

 

I have also tried to query the database directly using:

SELECT EventTime FROM dbo.Events

 

which gives me: yyyy-MM-DD HH:mm:ss.SSS

 

As shown above the milliseconds are not returned using the SWQL Studio. Also, for some reason, it seems that 2 hours are added to the time in SWQL Studio which would indicate that it uses some kind of timeezone formatting which is not visbile in the returned result

 

Ideas?

 

Thanks

 

/Alex


Viewing all articles
Browse latest Browse all 2677

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>