VoiceGuide IVR Software Main Page
Jump to content

Sql Query Data Format

Recommended Posts

using sql query I found problem

 

postgres sql query:

SELECT round(((connection_cost*1.00)/100),2)

FROM ...

WHERE ...

 

 

postgres client interpretation: (connection_cost*1.00)/100 = 0.01

 

but VG retuns: (connection_cost*1.00)/100 = 0,03000000000000000000

 

 

I try other method:

 

round(((connection_cost*1.00)/100),2) = 0.01

 

VG retuns: round(((connection_cost*1.00)/100),2) = 0,01

 

how to change comma (,) to (.)?

 

 

 

 

 

Share this post


Link to post

Could you please post vgEngine trace capturing the call.

 

(Please .ZIP up traces before posting them)

 

Which version of Postgres database are you using?

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×