- SQL Server on Linux
- Jasmin Azemovi?
- 227字
- 2021-07-02 20:24:19
SQL Server data types
The SQL Server Database Engine utilizes a wide selection of data types. A data type is a definition of how a value is structured, stored, and handled. There are data types for any kind of structured, semi-structured, and non-structured type of data.
Structured data types are native SQL Server data types such as int, char, varchar, datetime, binary, varbinary, money, decimal, geography, geometry, location, and so on. Character-based data types support both non-unicode, char/varchar, and unicode, nchar/nvarchar.
Semi-structured data types, such as xml, store their data in a structured manner internally and is usually handled by the database engine as large objects, but at the same time offers flexibility to add custom functions and indexes to efficiently display its content.
Non-structured data types are usually referred to as large objects called blob (binary large objects) or clob (character large objects) and used to store large amounts of data such as documents and binaries in the database. Also, varbinary(max), varchar(max), and nvarchar (max) are seen as non-structured objects. From the 2016 version , SQL Server had used a more modern approach and adequate data types for dealing with non-structured data: polybase feature and support for JSON.
Every data type offers specific features for a specific use. When designing a database, it's important to choose the right data type for every column of a table.
- jQuery Mobile Web Development Essentials(Third Edition)
- AngularJS Web Application Development Blueprints
- JavaFX Essentials
- 青少年美育趣味課堂:XMind思維導圖制作
- 軟件測試實用教程
- 微服務架構深度解析:原理、實踐與進階
- HTML 5與CSS 3權威指南(第3版·上冊)
- Python從入門到精通
- Android傳感器開發與智能設備案例實戰
- Python機器學習之金融風險管理
- HTML5與CSS3權威指南
- HikariCP數據庫連接池實戰
- 算法訓練營:海量圖解+競賽刷題(入門篇)
- 詩意的邊緣
- jMonkeyEngine 3.0 Beginner’s Guide