简体   繁体   中英

SQL Server 2008 data types: which ones should i use?

I am trying to figure out which data types I should use for my tables. Does someone have a very good, simple, tutorial on SQL Server 2008 datatypes (has to be practical!) ?

http://www.databasejournal.com/features/mssql/article.php/3788256/Data-Types-in-SQL-Server-2008.htm
http://searchsqlserver.techtarget.com/feature/SQL-Server-2008-data-types-Datetime-string-user-defined-and-more
The first link is more practical. As far as I know, SQL Server 2005 and 2008 almost have the same data types. (except new DateTime data type).

我认为选择类型的最佳方式是关于项目的自我知识与可用类型的知识相结合,为什么我建议你熟悉MS-SQL中的数据类型通常使用MSDN

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM