Tips for using data types in SQL Server 2019 (Part 1) Consider using Java data types. In SQL Server 2019 Java data types are currently supported for Input/Output data sets and Input/Output parameters. For example, you can execute a Java script by using the sp_execute_external_script system stored procedure. Use bigint data type, if you need to store integer data from...
Tag: bigint
Some tips for designing SQL Server 2016 tables (Part 1)
Some tips for designing SQL Server 2016 tables (Part 1) Avoid using timestamp column as a primary key. Timestamp is a data type that exposes automatically generated, unique binary numbers within a database. Every time that a row with a timestamp column is modified or inserted, the incremented database rowversion value is inserted in the timestamp column. This property makes...
Tips for using SQL Server 2012 data types
Tips for using SQL Server 2012 data types Use tinyint data type, if you need to store integer data from 0 through 255. The columns with tinyint data type use only one byte to store their values, in comparison with two bytes, four bytes and eight bytes used to store smallint, int and bigint values accordingly. For example, if you...