â04-12-2013 03:07 PM - edited â03-14-2019 11:33 AM
Hi,
I am working on a UCCX script that queries a SQL Server database to get the account data and it includes the date field. In the SQL Server the column is a datetime field and I could not determine to which data type in UCCX , the datetime field can be mapped to? Basically, my goal is to query the database and get the date into a UCCX script variable. Any help in very much appreciated.
Thanks
Suresh
â04-12-2013 05:44 PM
Hi,
You can use String as the data type because maybe between service won't use the same time format.
Regards
Please remember to rate useful posts clicking on the stars below.
Favor calificar todos las respuestas Ăștiles.
___________________________________________
LinkedIn Profile: do.linkedin.com/in/leosalcie
â04-15-2013 12:23 PM
The String datatype cannot be mapped - it wont show up in the DBGET - Field selection - Local variable field. Thanks for your response.
I resolved the issue by mapping it to a local variable. I created a java.sql.Timestamp local variable field and mapped the SQL output to that variable in the DBGET step. From there I could get the data into a date type variable easily.
Thanks
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide