在sql-server中填充表时,值仅部分填充到列中 [英] while populating the table in sql-server, values get only partially filled in the column

查看:109
本文介绍了在sql-server中填充表时,值仅部分填充到列中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

从前端(asp.net)填充sql-server-2005中的表时,值仅部分填充到列中.
例如:从前端输入的值是:肝动脉,在表中显示:hearic ar

该列的数据类型为:varchar(500)
尚未使用任何修剪函数

while populating the table in sql-server-2005 from the front-end(asp.net), values get only partially filled in the columns.
For eg: value entered from the front end is: hepatic artery, in the table it shows:hepatic ar

Datatype for this column is: varchar(500)
Have not used any trim function

推荐答案

如果您正在使用存储过程写入数据库,则需要确保参数声明长度匹配目标表的那些
If you''re using stored procedures to write to your DB, you''ll need to make sure your parameter declaration lengths match those of the destination table


这篇关于在sql-server中填充表时,值仅部分填充到列中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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