哪个是更好的数据类型而不是SQL Server中的Int [英] Which is better datatype instead of Int in SQL Server
本文介绍了哪个是更好的数据类型而不是SQL Server中的Int的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好
我想在文本框中输入大量的数字但是Integer不是一个好选择你可以建议我可以使用哪种数据类型而不是SQL SERVER中的整数
Thnxxx提前
Hi guys
I am wanna enter huge lenght of numbers in text box but Integer is not good choice can u suggest which datatype can i use Instead of Integer in SQL SERVER
Thnxxx in advance
推荐答案
查看SQL Server数据类型... http://technet.microsoft.com/en-us/library/ms187745.aspx [ ^ ]
BigInt可能适合您的需求,这取决于你的意思是巨大的长度...如果你的意思是1000位数,你可能需要使用varchar数据类型。
Check out the SQL Server Data Types... http://technet.microsoft.com/en-us/library/ms187745.aspx[^]
BigInt might suit your needs, it depends on what you mean by huge length... If you mean 1000 digits, you might need to use a varchar data type.
这篇关于哪个是更好的数据类型而不是SQL Server中的Int的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文