• <tfoot id='XVLgk'></tfoot>

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

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

    1. <legend id='XVLgk'><style id='XVLgk'><dir id='XVLgk'><q id='XVLgk'></q></dir></style></legend>
        <i id='XVLgk'><tr id='XVLgk'><dt id='XVLgk'><q id='XVLgk'><span id='XVLgk'><b id='XVLgk'><form id='XVLgk'><ins id='XVLgk'></ins><ul id='XVLgk'></ul><sub id='XVLgk'></sub></form><legend id='XVLgk'></legend><bdo id='XVLgk'><pre id='XVLgk'><center id='XVLgk'></center></pre></bdo></b><th id='XVLgk'></th></span></q></dt></tr></i><div id='XVLgk'><tfoot id='XVLgk'></tfoot><dl id='XVLgk'><fieldset id='XVLgk'></fieldset></dl></div>
      1. 字符串连接在 SQLite 中不起作用

        String concatenation does not work in SQLite(字符串连接在 SQLite 中不起作用)

        <legend id='11rDC'><style id='11rDC'><dir id='11rDC'><q id='11rDC'></q></dir></style></legend>

              <tbody id='11rDC'></tbody>
              • <bdo id='11rDC'></bdo><ul id='11rDC'></ul>

                <small id='11rDC'></small><noframes id='11rDC'>

              • <i id='11rDC'><tr id='11rDC'><dt id='11rDC'><q id='11rDC'><span id='11rDC'><b id='11rDC'><form id='11rDC'><ins id='11rDC'></ins><ul id='11rDC'></ul><sub id='11rDC'></sub></form><legend id='11rDC'></legend><bdo id='11rDC'><pre id='11rDC'><center id='11rDC'></center></pre></bdo></b><th id='11rDC'></th></span></q></dt></tr></i><div id='11rDC'><tfoot id='11rDC'></tfoot><dl id='11rDC'><fieldset id='11rDC'></fieldset></dl></div>
                1. <tfoot id='11rDC'></tfoot>
                  本文介绍了字符串连接在 SQLite 中不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我正在尝试执行 SQLite 替换函数,但使用函数中的另一个字段.

                  I am trying to execute a SQlite replace function, but use another field in the function.

                  select  locationname + '<p>' from location;
                  

                  在这个片段中,结果是一个 0 列表.我本来希望有一个字符串,其中包含来自 locationname 的文本和 '<p>' 文字.

                  In this snip, the result is a list of 0s. I would have expected a string with the text from locationname and the '<p>' literals.

                  推荐答案

                  尝试使用 || 代替 +

                  select  locationname || '<p>' from location;
                  

                  来自 SQLite 文档:

                  ||运算符是连接" - 它将其操作数的两个字符串连接在一起.

                  The || operator is "concatenate" - it joins together the two strings of its operands.

                  这篇关于字符串连接在 SQLite 中不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

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

                  相关文档推荐

                  ibtmp1是非压缩的innodb临时表的独立表空间,通过innodb_temp_data_file_path参数指定文件的路径,文件名和大小,默认配置为ibtmp1:12M:autoextend,也就是说在文件系统磁盘足够的情况下,这个文件大小是可以无限增长的。 为了避免ibtmp1文件无止境的暴涨导致
                  SQL query to group by day(按天分组的 SQL 查询)
                  What does SQL clause quot;GROUP BY 1quot; mean?(SQL 子句“GROUP BY 1是什么意思?意思是?)
                  MySQL groupwise MAX() returns unexpected results(MySQL groupwise MAX() 返回意外结果)
                  MySQL SELECT most frequent by group(MySQL SELECT 按组最频繁)
                  Include missing months in Group By query(在 Group By 查询中包含缺失的月份)

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

                            <tbody id='swwaR'></tbody>
                        1. <tfoot id='swwaR'></tfoot>
                        2. <legend id='swwaR'><style id='swwaR'><dir id='swwaR'><q id='swwaR'></q></dir></style></legend>

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

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