• <bdo id='D6onx'></bdo><ul id='D6onx'></ul>
  1. <legend id='D6onx'><style id='D6onx'><dir id='D6onx'><q id='D6onx'></q></dir></style></legend>

    <small id='D6onx'></small><noframes id='D6onx'>

  2. <tfoot id='D6onx'></tfoot>
    1. <i id='D6onx'><tr id='D6onx'><dt id='D6onx'><q id='D6onx'><span id='D6onx'><b id='D6onx'><form id='D6onx'><ins id='D6onx'></ins><ul id='D6onx'></ul><sub id='D6onx'></sub></form><legend id='D6onx'></legend><bdo id='D6onx'><pre id='D6onx'><center id='D6onx'></center></pre></bdo></b><th id='D6onx'></th></span></q></dt></tr></i><div id='D6onx'><tfoot id='D6onx'></tfoot><dl id='D6onx'><fieldset id='D6onx'></fieldset></dl></div>
    2. SQL Server 字符串或二进制数据将被截断

      SQL Server String or binary data would be truncated(SQL Server 字符串或二进制数据将被截断)
        <tbody id='q6TNN'></tbody>
      <tfoot id='q6TNN'></tfoot>
            <bdo id='q6TNN'></bdo><ul id='q6TNN'></ul>
            <legend id='q6TNN'><style id='q6TNN'><dir id='q6TNN'><q id='q6TNN'></q></dir></style></legend>

              • <i id='q6TNN'><tr id='q6TNN'><dt id='q6TNN'><q id='q6TNN'><span id='q6TNN'><b id='q6TNN'><form id='q6TNN'><ins id='q6TNN'></ins><ul id='q6TNN'></ul><sub id='q6TNN'></sub></form><legend id='q6TNN'></legend><bdo id='q6TNN'><pre id='q6TNN'><center id='q6TNN'></center></pre></bdo></b><th id='q6TNN'></th></span></q></dt></tr></i><div id='q6TNN'><tfoot id='q6TNN'></tfoot><dl id='q6TNN'><fieldset id='q6TNN'></fieldset></dl></div>

                <small id='q6TNN'></small><noframes id='q6TNN'>

                本文介绍了SQL Server 字符串或二进制数据将被截断的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                问题描述

                我参与了一个数据迁移项目.当我尝试将一个表中的数据插入另一个表 (SQL Server 2005) 时,出现以下错误:

                I am involved in a data migration project. I am getting the following error when I try to insert data from one table into another table (SQL Server 2005):

                消息 8152,级别 16,状态 13,第 1 行
                字符串或二进制数据将被截断.

                Msg 8152, Level 16, State 13, Line 1
                String or binary data would be truncated.

                源数据列与数据类型匹配并且在目标表列的长度定义内,所以我不知道是什么导致了这个错误.

                The source data columns match the data type and are within the length definitions of the destination table columns so I am at a loss as to what could be causing this error.

                推荐答案

                您需要发布源表和目标表的表定义,以便我们找出问题所在,但最重要的是源表中的列大于目标列.可能是您正在以一种您不知道的方式更改格式.您要迁移的数据库模型对于弄清楚这一点也很重要.

                You will need to post the table definitions for the source and destination tables for us to figure out where the issue is but the bottom line is that one of your columns in the source table is bigger than your destination columns. It could be that you are changing formats in a way you were not aware of. The database model you are moving from is important in figuring that out as well.

                这篇关于SQL Server 字符串或二进制数据将被截断的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                相关文档推荐

                Select n random rows from SQL Server table(从 SQL Server 表中随机选择 n 行)
                SQL query to select dates between two dates(用于选择两个日期之间的日期的 SQL 查询)
                How can I delete using INNER JOIN with SQL Server?(如何在 SQL Server 中使用 INNER JOIN 进行删除?)
                Table Naming Dilemma: Singular vs. Plural Names(表命名困境:单数与复数名称)
                INSERT statement conflicted with the FOREIGN KEY constraint - SQL Server(INSERT 语句与 FOREIGN KEY 约束冲突 - SQL Server)
                Optimal way to concatenate/aggregate strings(连接/聚合字符串的最佳方式)
                  <i id='t0DYd'><tr id='t0DYd'><dt id='t0DYd'><q id='t0DYd'><span id='t0DYd'><b id='t0DYd'><form id='t0DYd'><ins id='t0DYd'></ins><ul id='t0DYd'></ul><sub id='t0DYd'></sub></form><legend id='t0DYd'></legend><bdo id='t0DYd'><pre id='t0DYd'><center id='t0DYd'></center></pre></bdo></b><th id='t0DYd'></th></span></q></dt></tr></i><div id='t0DYd'><tfoot id='t0DYd'></tfoot><dl id='t0DYd'><fieldset id='t0DYd'></fieldset></dl></div>
                    <bdo id='t0DYd'></bdo><ul id='t0DYd'></ul>

                    <small id='t0DYd'></small><noframes id='t0DYd'>

                  • <tfoot id='t0DYd'></tfoot>
                      <tbody id='t0DYd'></tbody>
                  • <legend id='t0DYd'><style id='t0DYd'><dir id='t0DYd'><q id='t0DYd'></q></dir></style></legend>