About 1,810,000 results
Open links in new tab
  1. SQL variable to hold list of integers - Stack Overflow

    269 I'm trying to debug someone else's SQL reports and have placed the underlying reports query into a query windows of SQL 2012. One of the parameters the report asks for is a list of …

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

  3. Difference between "int" and "int (2)" data types - Stack Overflow

    Dec 29, 2022 · See Numeric Type Attributes in the MySQL documentation: MySQL supports an extension for optionally specifying the display width of integer data types in parentheses …

  4. SQL alter column datatype from nvarchar to int - Stack Overflow

    Aug 28, 2013 · Can the datatype of a field be changed to int from nvarchar?? alter table employee alter column designation int is this valid?? If not can it be done in some other way?? P.S: I am …

  5. What is the equivalent for datatype LONG in SQL Server?

    Feb 24, 2021 · Quite much a int in sql server is a long in VBA. So in VBA code, you no doubt near EVERY where used a long for a PK id in a row. You can leave that code "as is" and just …

  6. integer - What is the difference between tinyint, smallint, …

    The following example creates a table using the bigint, int, smallint, and tinyint data types. Values are inserted into each column and returned in the SELECT statement.

  7. How to change data type of a column in an SQL table from integer …

    I have assigned the data type of one of the columns of a table I have created as int. My problem is that it is not showing decimal places when I run a query against it. How do I correct the data ...

  8. .net - C# Equivalent of SQL Server DataTypes - Stack Overflow

    SQL Server and the .NET Framework are based on different type systems. For example, the .NET Framework Decimal structure has a maximum scale of 28, whereas the SQL Server decimal …

  9. How to restrict the length of INTEGER when creating a table in SQL ...

    Aug 21, 2014 · 7 When creating a table in SQL SERVER, I want to restrict that the length of an INTEGER column can only be equal 10. eg: the PhoneNumber is an INTEGER, and it must be …

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

    May 18, 2012 · 38 As long as the data types are somewhat "related" - yes, you can absolutely do this. You can change an INT to a BIGINT - the value range of the second type is larger, so …