About 4,620,000 results
Open links in new tab
  1. 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?

  2. SQL Server : Arithmetic overflow error converting expression to …

    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.

  3. 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 …

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

    Dec 17, 2014 · I need to create the staging table, but with hundreds of views/tables to dig through to find the data types that are being represented here, I have to wonder if there's a better way …

  5. 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.

  6. sql - Modifying a column type with data, without deleting the data ...

    May 18, 2012 · I was under the impression I cannot just alter the column type? Is the best method to create a temp column, "column2", transfer the data to this column, from the column with the …

  7. SQL Server : error converting data type varchar to numeric

    Jan 4, 2013 · Returns the result of an expression, translated to the requested data type, or null if the cast fails in SQL Server. Use TRY_PARSE only for converting from string to date/time and …

  8. Why SQL Server throws Arithmetic overflow error converting int to …

    That means you have 3 places for data and two of them are to the right of the decimal leaving only one to the left of the decimal. 15 has two places to the left of the decimal.

  9. SQL server query to get the list of columns in a table along with …

    Mar 11, 2010 · I need to write a query on SQL server to get the list of columns in a particular table, its associated data types (with length) and if they are not null. And I have managed to do …

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

    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 …