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

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

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

        sqlite alter table 在单个语句中添加多个列

        sqlite alter table add MULTIPLE columns in a single statement(sqlite alter table 在单个语句中添加多个列)
              <tfoot id='rOb3e'></tfoot>
            1. <i id='rOb3e'><tr id='rOb3e'><dt id='rOb3e'><q id='rOb3e'><span id='rOb3e'><b id='rOb3e'><form id='rOb3e'><ins id='rOb3e'></ins><ul id='rOb3e'></ul><sub id='rOb3e'></sub></form><legend id='rOb3e'></legend><bdo id='rOb3e'><pre id='rOb3e'><center id='rOb3e'></center></pre></bdo></b><th id='rOb3e'></th></span></q></dt></tr></i><div id='rOb3e'><tfoot id='rOb3e'></tfoot><dl id='rOb3e'><fieldset id='rOb3e'></fieldset></dl></div>

            2. <small id='rOb3e'></small><noframes id='rOb3e'>

                  <tbody id='rOb3e'></tbody>

                  <bdo id='rOb3e'></bdo><ul id='rOb3e'></ul>
                • <legend id='rOb3e'><style id='rOb3e'><dir id='rOb3e'><q id='rOb3e'></q></dir></style></legend>

                • 本文介绍了sqlite alter table 在单个语句中添加多个列的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  是否可以在sqlite的单个语句中更改表添加多个列?以下方法无效.

                  <前>更改表测试添加列 mycolumn1 文本,添加列 mycolumn2 文本;

                  解决方案

                  不,您必须一次添加一个.请参阅SQLite 的 ALTER TABLE 文档 顶部的语法图:

                  ADD 分支中没有循环,因此不允许重复.

                  Is it possible to alter table add MULTIPLE columns in a single statement in sqlite? The following would not work.

                  alter table test add column mycolumn1 text, add column mycolumn2 text;
                  

                  解决方案

                  No, you have to add them one at a time. See the syntax diagram at the top of SQLite's ALTER TABLE documentation:

                  There's no loop in the ADD branch so no repetition is allowed.

                  这篇关于sqlite alter table 在单个语句中添加多个列的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

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

                  相关文档推荐

                  How to delete duplicate records in mysql database?(如何删除mysql数据库中的重复记录?)
                  Python Pandas write to sql with NaN values(Python Pandas 使用 NaN 值写入 sql)
                  MySQL Insert amp; Joins(MySQL 插入 amp;加入)
                  MySQL concat() to create column names to be used in a query?(MySQL concat() 创建要在查询中使用的列名?)
                  NodeJS responded MySQL timezone is different when I fetch directly from MySQL(当我直接从 MySQL 获取时,NodeJS 响应 MySQL 时区不同)
                  WHERE datetime older than some time (eg. 15 minutes)(WHERE 日期时间早于某个时间(例如 15 分钟))
                    <tbody id='l9CH1'></tbody>
                  <tfoot id='l9CH1'></tfoot>

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

                      1. <legend id='l9CH1'><style id='l9CH1'><dir id='l9CH1'><q id='l9CH1'></q></dir></style></legend>

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

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