Select to view content in your preferred language

How i can determine DBMS type using by arcgis server?

4299
3
01-11-2015 10:03 PM
GeneralFailure
Deactivated User

I have layer with start time field

Timeslider filters displaying features of this layer, but query from layer returns all features independently of timeslider position

 

I'm add where condition to query (for example, start_date = '12.34.5678')

It works on one arcgis server, but don't on another

Reason is different database servers, that needs various date formats in query

 

How i can determine DBMS type for set necessary date format?

Or is there a way to get date format?

Tags (1)
0 Kudos
3 Replies
GeneralFailure
Deactivated User

I applied workaround: several date formats for various dbms

All formats instead current are commented

But it's a crutch, and code editing is necessary when deploying project on customer's server

KishorGhatage
Deactivated User
0 Kudos
GeneralFailure
Deactivated User

Thanks, but if i understood correctly, that solution is for desktop or server projects (reading local file with database configuration)

My project is web and written in javascript, i have no access to configuration files on server

Have layers or any other objects properties that contains info about database connection?

0 Kudos