Quantcast
Channel: THWACK: Popular Discussions - Orion SDK
Viewing all articles
Browse latest Browse all 3719

Need help converting t-sql functions 'convert()' and 'cast()' to work in SWQL

$
0
0

I have a report query ins T-SQL and I need to use in SWQL:

 

Part of the query presenting error:

Select convert(varchar, r.Event_Time, 120) Event_Time, r.AccessPoint, CAST(r.Clients as int) Clients  

 

Error:

2019-08-26 10:15:51,887 [72] ERROR SolarWinds.InformationService.Core.InformationService - SWQL Studio (null) Exception running query:

Select convert(varchar, r.Event_Time, 120) Event_Time, r.AccessPoint, CAST(r.Clients as int) Clients 

        From ( ...

 

QUESTION:
Are there any SWQL statement equivalent to the T-SQL below ?

convert(varchar, r.Event_Time, 120) Event_Time, r.AccessPoint, CAST(r.Clients as int) Clients  

 

Thanks


Viewing all articles
Browse latest Browse all 3719

Trending Articles



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