久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

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

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

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

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

        如何在MySql中轉義撇號(')?

        How to escape apostrophe (#39;) in MySql?(如何在MySql中轉義撇號()?)
        • <bdo id='L9w9S'></bdo><ul id='L9w9S'></ul>
              <tbody id='L9w9S'></tbody>
          • <small id='L9w9S'></small><noframes id='L9w9S'>

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

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

                  本文介紹了如何在MySql中轉義撇號(')?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  MySQL 文檔說它應該是 \'.但是,scite 和 mysql 都顯示 '' 有效.我看到了,它的工作原理.我該怎么辦?

                  解決方案

                  您引用的 MySQL 文檔實際上比您提到的要多一些.它還說,

                  <塊引用>

                  在用'"引用的字符串中的'"可以寫成''".

                  (另外,您鏈接到 MySQL 5.0 版本的表 8.1.特殊字符轉義序列,當前版本是 5.6 — 但當前的 表 8.1.特殊字符轉義序列看起來非常相似.)

                  我認為 Postgres 注釋backslash_quote (string) 參數 提供信息:

                  <塊引用>

                  這控制引號是否可以在字符串文字中用 \' 表示.表示引號的首選 SQL 標準方式是將引號加倍 (''),但 PostgreSQL 歷來也接受 \'.但是,使用 \' 會帶來安全風險...

                  這對我說,與使用反斜杠轉義單引號相比,使用雙引號字符是更好的整體和長期選擇.

                  現在,如果您還想在等式中添加語言選擇、??SQL 數據庫及其非標準特性的選擇以及查詢框架的選擇,那么您最終可能會有不同的選擇.你沒有提供太多關于你的約束的信息.

                  The MySQL documentation says that it should be \'. However, both scite and mysql shows that '' works. I saw that and it works. What should I do?

                  解決方案

                  The MySQL documentation you cite actually says a little bit more than you mention. It also says,

                  A "'" inside a string quoted with "'" may be written as "''".

                  (Also, you linked to the MySQL 5.0 version of Table 8.1. Special Character Escape Sequences, and the current version is 5.6 — but the current Table 8.1. Special Character Escape Sequences looks pretty similar.)

                  I think the Postgres note on the backslash_quote (string) parameter is informative:

                  This controls whether a quote mark can be represented by \' in a string literal. The preferred, SQL-standard way to represent a quote mark is by doubling it ('') but PostgreSQL has historically also accepted \'. However, use of \' creates security risks...

                  That says to me that using a doubled single-quote character is a better overall and long-term choice than using a backslash to escape the single-quote.

                  Now if you also want to add choice of language, choice of SQL database and its non-standard quirks, and choice of query framework to the equation, then you might end up with a different choice. You don't give much information about your constraints.

                  這篇關于如何在MySql中轉義撇號(')?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                  【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                  相關文檔推薦

                  How to use windowing functions efficiently to decide next N number of rows based on N number of previous values(如何有效地使用窗口函數根據 N 個先前值來決定接下來的 N 個行)
                  reuse the result of a select expression in the quot;GROUP BYquot; clause?(在“GROUP BY中重用選擇表達式的結果;條款?)
                  Does ignore option of Pyspark DataFrameWriter jdbc function ignore entire transaction or just offending rows?(Pyspark DataFrameWriter jdbc 函數的 ignore 選項是忽略整個事務還是只是有問題的行?) - IT屋-程序員軟件開發技
                  Error while using INSERT INTO table ON DUPLICATE KEY, using a for loop array(使用 INSERT INTO table ON DUPLICATE KEY 時出錯,使用 for 循環數組)
                  pyspark mysql jdbc load An error occurred while calling o23.load No suitable driver(pyspark mysql jdbc load 調用 o23.load 時發生錯誤 沒有合適的驅動程序)
                  How to integrate Apache Spark with MySQL for reading database tables as a spark dataframe?(如何將 Apache Spark 與 MySQL 集成以將數據庫表作為 Spark 數據幀讀取?)

                    <i id='suFbI'><tr id='suFbI'><dt id='suFbI'><q id='suFbI'><span id='suFbI'><b id='suFbI'><form id='suFbI'><ins id='suFbI'></ins><ul id='suFbI'></ul><sub id='suFbI'></sub></form><legend id='suFbI'></legend><bdo id='suFbI'><pre id='suFbI'><center id='suFbI'></center></pre></bdo></b><th id='suFbI'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='suFbI'><tfoot id='suFbI'></tfoot><dl id='suFbI'><fieldset id='suFbI'></fieldset></dl></div>
                  1. <legend id='suFbI'><style id='suFbI'><dir id='suFbI'><q id='suFbI'></q></dir></style></legend>

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

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

                            <tbody id='suFbI'></tbody>
                          <tfoot id='suFbI'></tfoot>
                          • 主站蜘蛛池模板: av永久| a天堂在线 | 国产乱码精品一品二品 | 91精品欧美久久久久久久 | 久久精品亚洲一区二区三区浴池 | 久久99精品久久久久久 | 欧美激情国产日韩精品一区18 | www.se91| 在线看片国产精品 | 日日操夜夜操天天操 | 91电影在线| 午夜精品久久久久久久久久久久久 | 中文字幕一区二区三 | 手机av在线 | 人人cao | 久久er精品| 天天干天天干 | 亚洲综合二区 | 精品国产欧美一区二区三区成人 | 欧美国产视频 | 国产免费一区二区三区 | 欧美日韩在线一区二区三区 | 成人精品毛片 | 欧美亚洲国产一区二区三区 | 亚洲精品一区二区在线观看 | 成人区一区二区三区 | 久久久高清 | 一区二区三区久久久 | 国产欧美一区二区三区在线看 | 中国大陆高清aⅴ毛片 | 日韩精品一区二区三区免费视频 | 日本免费一区二区三区 | 国产精品视频一二三区 | 草久久久 | 精品国产乱码久久久久久丨区2区 | 国产精品1区2区3区 男女啪啪高潮无遮挡免费动态 | 欧美一区二| 国产精品jizz在线观看老狼 | 久久9视频 | 成人天堂| 成人精品福利 |