About 50 results
Open links in new tab
  1. integer Max value constants in SQL Server T-SQL?

    Are there any constants in T-SQL like there are in some other languages that provide the max and min values ranges of data types such as int? I have a code table where each row has an upper and lower …

  2. In SQL how do I get the maximum value for an integer?

    Apr 28, 2010 · 34 I am trying to find out the maximum value for an integer (signed or unsigned) from a MySQL database. Is there a way to pull back this information from the database itself? Are there any …

  3. What is the limit of the field type BIGINT in SQL?

    Jul 16, 2012 · Actually, if bigint is defined in the ISO SQL standard as 64 bits (which I suspect it is), then you wouldn't need to make an exhaustive list of databases, only the ones too brain-damaged to …

  4. mysql - INT type in SQL max value calculation - Stack Overflow

    Jul 11, 2020 · int is actually a signed value in SQL. The range is from -2^31 through 2^31 - 1, which is -2,147,483,648 to 2,147,483,647. There are exactly 2^32 possible values in tis range. Note that it …

  5. What is the maximum size of int(10) in Mysql - Stack Overflow

    Feb 4, 2015 · 56 In my database I have declared a variable of datatype Int(10). If I type a number in a textbox in my web page, that number is stored in a variable whose largest value can be Int(10) in …

  6. Max function in SQL Server that takes two values like Math.Max in .NET

    If we pass an int and a NULL then I think it's more common to want the non-null value returned, so the function is acting as a combination of Max (x,y) and ISNULL (x,y).

  7. sql server - Select max int from varchar column - Stack Overflow

    Apr 22, 2014 · I am trying to retrieve the largest number from a varchar column that includes both numbers and strings. An example of the data I'm working with: BoxNumber 123 A5 789 B1 I need to …

  8. Maximum for autoincremental int primary key in SqlServer

    For an INT column, you already figured out the maximum. If you need a data type with a greater range, BIGINT is the obvious choice, and it can very well be marked IDENTITY.

  9. What is the size of column of int (11) in mysql in bytes?

    Apr 12, 2011 · INT (3) with the stored value of 250000 will show 250000 INT with the stored value of 250000 will show 250000 The actual value stored in database is not affected, the size is still the …

  10. sql - max value represented by bigint - Stack Overflow

    Aug 17, 2011 · Is there a way to get the max value that can be stored in a bigint, without hardcoding it? Is there a function or a constant that returns/contains this value?