Avoid scientific values
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2025 02:13 PM
I am trying to insert data into catalog tables on data bricks but the values are being displayed in scientific notation which i am trying to avoid how do I view the data in standard format
for example - 0.0000000 is being displayed as 0E-7
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2025 02:35 PM
Hi @Tej_04,
Can you try with format_number Function.
SELECT format_number(column_name, decimal_places) AS column_name FROM table_name;
https://docs.databricks.com/en/sql/language-manual/functions/format_number.html