DevPro Posted April 30, 2020 Share Posted April 30, 2020 Hi, I am doing a conversion of a numeric value 999999999999999 to string using the STR() function as STR(999999999999999,15). However, it returns just * signs. When the precision is changed to 16 from 15 it works. Also when the value goes <=999999999999997 it works. Using the CAST() instead of STR() also does the job. Why is this not working for STR(999999999999999,15)? Thanks Link to comment Share on other sites More sharing options...
Ingolme Posted April 30, 2020 Share Posted April 30, 2020 STR() does not seem to be a standard MySQL function (I checked the reference here: https://dev.mysql.com/doc/refman/8.0/en/func-op-summary-ref.html ). Which SQL software are you using and what does the STR() function do? Link to comment Share on other sites More sharing options...
oracledev Posted May 1, 2020 Share Posted May 1, 2020 What kind of database engine you use? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now