• <bdo id='kMU7A'></bdo><ul id='kMU7A'></ul>

  • <small id='kMU7A'></small><noframes id='kMU7A'>

    <tfoot id='kMU7A'></tfoot>

      <legend id='kMU7A'><style id='kMU7A'><dir id='kMU7A'><q id='kMU7A'></q></dir></style></legend>

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

        ORA-01461: 只能为插入到 LONG 列而绑定 LONG 值-查询时发生

        ORA-01461: can bind a LONG value only for insert into a LONG column-Occurs when querying(ORA-01461: 只能为插入到 LONG 列而绑定 LONG 值-查询时发生)
      2. <i id='kFvcu'><tr id='kFvcu'><dt id='kFvcu'><q id='kFvcu'><span id='kFvcu'><b id='kFvcu'><form id='kFvcu'><ins id='kFvcu'></ins><ul id='kFvcu'></ul><sub id='kFvcu'></sub></form><legend id='kFvcu'></legend><bdo id='kFvcu'><pre id='kFvcu'><center id='kFvcu'></center></pre></bdo></b><th id='kFvcu'></th></span></q></dt></tr></i><div id='kFvcu'><tfoot id='kFvcu'></tfoot><dl id='kFvcu'><fieldset id='kFvcu'></fieldset></dl></div>

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

          <bdo id='kFvcu'></bdo><ul id='kFvcu'></ul>

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

                  本文介绍了ORA-01461: 只能为插入到 LONG 列而绑定 LONG 值-查询时发生的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  当我尝试查询对象时,最终出现以下错误:

                  When I try to query objects, I end up with following error:

                  ORA-01461: can bind a LONG value only for insert into a LONG column
                  

                  有人可以帮助我了解问题的原因和解决方案吗?

                  Could someone please help me on the cause and solution of the problem?

                  推荐答案

                  好吧,既然你没有展示任何代码,我会在这里做一些假设.

                  Ok, well, since you didn't show any code, I'll make a few assumptions here.

                  基于 ORA-1461 错误,您似乎在 select 语句中指定了 LONG 数据类型?你想把它绑定到一个输出变量?那正确吗?该错误非常直接.您只能绑定一个 LONG 值以插入 LONG 列.

                  Based on the ORA-1461 error, it seems that you've specified a LONG datatype in a select statement? And you're trying to bind it to an output variable? Is that right? The error is pretty straight forward. You can only bind a LONG value for insert into LONG column.

                  不知道还能说什么.该错误是不言自明的.

                  Not sure what else to say. The error is fairly self-explanatory.

                  一般来说,从 LONG 数据类型转移到 CLOB 是个好主意.CLOB 得到了更好的支持,而 LONG 数据类型实际上只是为了向后兼容.

                  In general, it's a good idea to move away from LONG datatype to a CLOB. CLOBs are much better supported, and LONG datatypes really are only there for backward compatibility.

                  这是一个LONG 数据类型限制列表

                  希望有所帮助.

                  这篇关于ORA-01461: 只能为插入到 LONG 列而绑定 LONG 值-查询时发生的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

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

                  相关文档推荐

                  Oracle PL/SQL - Raise User-Defined Exception With Custom SQLERRM(Oracle PL/SQL - 使用自定义 SQLERRM 引发用户定义的异常)
                  Oracle: is there a tool to trace queries, like Profiler for sql server?(Oracle:是否有跟踪查询的工具,例如用于 sql server 的 Profiler?)
                  SELECT INTO using Oracle(使用 Oracle SELECT INTO)
                  How to handle Day Light Saving in Oracle database(如何在 Oracle 数据库中处理夏令时)
                  PL/SQL - Use quot;Listquot; Variable in Where In Clause(PL/SQL - 使用“列表Where In 子句中的变量)
                  Oracle: Import CSV file(Oracle:导入 CSV 文件)
                • <tfoot id='PrcKr'></tfoot>
                    <legend id='PrcKr'><style id='PrcKr'><dir id='PrcKr'><q id='PrcKr'></q></dir></style></legend>

                        <bdo id='PrcKr'></bdo><ul id='PrcKr'></ul>
                          <tbody id='PrcKr'></tbody>

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

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