About 10,900,000 results
Open links in new tab
  1. SQL Server DECIMAL Data Type - GeeksforGeeks

    Dec 12, 2023 · In SQL Server, when you need numbers to be super precise, like in financial calculations, you use the DECIMAL data type. It's like a special box for storing exact numbers …

  2. decimal and numeric (Transact-SQL) - SQL Server | Microsoft Learn

    Mar 31, 2025 · A. Create a table using decimal and numeric data types The following example creates a table using the decimal and numeric data types. Values are inserted into each column.

  3. Understanding the SQL Decimal data type - SQL Shack

    Jul 15, 2019 · Now that we know how to create this Decimal data type in SQL Server, let’s explore it with numerous examples. Let’s quickly create a new table, named Patients, that makes use …

  4. An Essential Guide To SQL Server DECIMAL Data Type

    This tutorial introduces to SQL Server DECIMAL data type and shows how to use it to store exact numeric values in the database.

  5. How to store decimal values in SQL Server? - Stack Overflow

    I'm trying to figure out decimal data type of a column in the SQL Server. I need to be able to store values like 15.5, 26.9, 24.7, 9.8, etc. I assigned decimal(18, 0) to the column data type but this …

  6. SQL Data Types for MySQL, SQL Server, and MS Access - W3Schools

    In MySQL there are three main data types: string, numeric, and date and time. A FIXED length string (can contain letters, numbers, and special characters). The size parameter specifies the …

  7. SQL Server DECIMAL: Everything you need to know

    Aug 23, 2021 · SQL Server gives you the ability to specify how many decimal digits should be stored for your number. This gives you control of how much space in memory your number …

  8. Mastering the DECIMAL Data Type in SQL Server

    Decimals are a common data type in SQL Server used to store numeric values with fixed precision and scale. In this article, we will dive into the syntax, usage, precision and scale …

  9. Decimal & Numeric Data Types in SQL Server - Tektutorialshub

    Jan 26, 2021 · The following shows how to create a table with decimal columns. Using only decimal without any precision or scale, will create a column decimal (18,0). Insert a new value …

  10. SQL Decimal: Guide and Examples - Database Star

    Jan 5, 2024 · Let’s see some examples of creating an SQL DECIMAL data type, including how to insert data into a decimal and how to select data. This example shows how to create a new …

  11. Some results have been removed
Refresh