插入数据库时​​DAtabase错误 [英] DAtabase Error while inserting into database

查看:68
本文介绍了插入数据库时​​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


这篇关于插入数据库时​​DAtabase错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆