About 1,800,000 results
Open links in new tab
  1. Difference between numeric, float and decimal in SQL Server

    Jun 29, 2009 · The parameter supplied to the float data type defines the number of bits that are used to store the mantissa of the floating point number. Approximate Numeric Data Type usually uses less …

  2. How do you change the datatype of a column in T-SQL Server?

    Mar 9, 2009 · I am trying to change a column from a varchar(50) to a nvarchar(200). What is the SQL command to alter this table?

  3. How do I return the SQL data types from my query?

    Dec 17, 2014 · 99 For SQL Server 2012 and above: If you place the query into a string then you can get the result set data types like so:

  4. What datatype to use when storing latitude and longitude data in SQL ...

    When storing latitude or longitude data in an ANSI SQL compliant database, what datatype would be most appropriate? Should float be used, or decimal, or ...? I'm aware that Oracle, MySql, and SQL ...

  5. sql server - Finding the data types of a SQL temporary table - Stack ...

    For SQL Server 2012 and later you can use sys.dm_exec_describe_first_result_set function. It returns very detailed information about the columns and the system_type_column holds the complete …

  6. SQL Server : Arithmetic overflow error converting expression to data ...

    One of your expressions needs to be casted/converted to an int in order for this to go through, which is the meaning of Arithmetic overflow error converting expression to data type int.

  7. sql server - What's best SQL datatype for storing JSON string? - Stack ...

    Feb 9, 2012 · The (N)VARCHAR columns come in two flavors: either you define a maximum length that results in 8000 bytes or less (VARCHAR up to 8000 characters, NVARCHAR up to 4000), or if that's …

  8. What is uniqueidentifier type? - Stack Overflow

    Jan 15, 2011 · In SQL Server, a uniqueidentifier is just another data type, like int, varchar, etc., but its characteristics make it suitable as a primary key.

  9. SQL Server Text type vs. varchar data type - Stack Overflow

    I have variable length character data and want to store in SQL Server (2005) database. I want to learn some best practices about how to choose TEXT SQL type or choose VARCHAR SQL type, pros and …

  10. How to create a yes/no boolean field in SQL server?

    Nov 22, 2009 · The equivalent is a BIT field. In SQL you use 0 and 1 to set a bit field (just as a yes/no field in Access). In Management Studio it displays as a false/true value (at least in recent versions). …