How do I format numbers in SQLA
I'd like to have something like NUMBERFORMAT analogous to DATEFORMAT, to format a numeric value into a string. Would take a numeric value (integer, double, numeric...) and a format expression (e.g....
View ArticleHow to create a special value like oracle rownum?
We are using SQL Anywhere 11.0.1.2427 for our tablet users and Oracle 10g for our desktop users. The application is .Net application. We tried to have much common code as possible for the application...
View ArticleNumbers format problem after migrating database
I've migrated the database from SQL Anywhere 6.0 to 12.0. I'm having problems with the numeric format in the newer version. In my old database, the numbers are inserted without any commas, for example...
View Articlecannot convert to a numeric
I am trying to find a way to conditionally format datatype a field in a materialized view. Yes it is odd, but trust the fact that we are extracting from other applications, and in one case, there are a...
View ArticleHow do I format non-negative integers to add leading zeroes?
Yes, I know, general number formatting is not (yet?) supported as a builtin feature in SQL Anywhere.So, for the pretty easy requirement to format integers > 0 to contain a minimum of nDigitCnt...
View Article