插入数据库时DAtabase错误
问题描述:
先生,
我在Sql Server 2008中输入了一个Int Type for Contact No.列。虽然我插入了这个列,但是出现了一个错误如下:
Int太大或太小
请帮我注销这个错误。这对我来说非常 urgent 。我将非常感谢你。
Sir,
I have take a column of Int Type for Contact No. in Sql Server 2008. while i have insert into this column there an error occur which is as follows:
Int is too Big or too Small
please help me out reg this error. this is very urgent for me. i will be very greatful to you.
答
改为使用BigInt。或者将其作为Varchar(15)。或Varchar(您指定的长度)
Use BigInt instead. or Make it as a Varchar(15). or Varchar(Your specified length)
只是将数据类型更改为数据库表中的bigint
just change that datatype to bigint in database table