How Many Categories of Data Types Used by SQL Server?
Submitted by: AdministratorA data type is an attribute that specifies the type of data that the object can hold: integer data, character data, monetary data, date and time data, binary strings, and so on. In SQL Server 2005, each column, local variable, expression, and parameter has a related data type. Data types in SQL Server 2005 are organized into the following categories:
* Exact Numerics - BIGINT, INT, SMALLINT, TINYINT, BIT, DECIMAL, NUMERIC, MONEY, and SMALLMONEY.
* Approximate Numerics - FLOAT, and REAL.
* Date and Time - DATETIME and SMALLDATETIME.
* Character Strings - CHAR, VARCHAR, and TEXT.
* Unicode Character Strings - NCHAR, NVARCHAR, and NTEXT
* Binary Strings - BINARY, VARBINARY, and IMAGE.
* Other Data Types - CURSOR, SQL_VARIANT, TABLE, UNIQUEIDENTIFIER, TIMESTAMP, and XML.
Submitted by: Administrator
* Exact Numerics - BIGINT, INT, SMALLINT, TINYINT, BIT, DECIMAL, NUMERIC, MONEY, and SMALLMONEY.
* Approximate Numerics - FLOAT, and REAL.
* Date and Time - DATETIME and SMALLDATETIME.
* Character Strings - CHAR, VARCHAR, and TEXT.
* Unicode Character Strings - NCHAR, NVARCHAR, and NTEXT
* Binary Strings - BINARY, VARBINARY, and IMAGE.
* Other Data Types - CURSOR, SQL_VARIANT, TABLE, UNIQUEIDENTIFIER, TIMESTAMP, and XML.
Submitted by: Administrator
Read Online MS SQL Server Job Interview Questions And Answers
Top MS SQL Server Questions
☺ | How To Select Some Specific Rows from a Table in MS SQL Server? |
☺ | What Happens If You Insert a Duplicate Key for the Primary Key Column in MS SQL Server? |
☺ | How To Execute the Cursor Queries with "OPEN" Statements? |
☺ | PHP MSSQL - How To Display a Past Time in Days, Hours and Minutes? |
☺ | How to Create a View using Data from Another View? |
Top Databases Programming Categories
☺ | RDBMS Interview Questions. |
☺ | SQL Interview Questions. |
☺ | SSRS Interview Questions. |
☺ | Sybase Interview Questions. |
☺ | Database Administrator (DBA) Interview Questions. |