久久久久久久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中轉(zhuǎn)義撇號(')?

        How to escape apostrophe (#39;) in MySql?(如何在MySql中轉(zhuǎn)義撇號()?)
        • <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中轉(zhuǎn)義撇號(')?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

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

                  解決方案

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

                  <塊引用>

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

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

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

                  <塊引用>

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

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

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

                  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.

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

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

                  相關(guān)文檔推薦

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

                    <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>
                          • 主站蜘蛛池模板: 6080yy精品一区二区三区 | 国产一区二区不卡 | 国产精品性做久久久久久 | 一区视频在线 | 久久久99精品免费观看 | 日韩第一夜 | 亚洲精品综合一区二区 | 国产欧美精品在线观看 | 国产精品女人久久久 | 国产视频1区 | 成人精品影院 | 久久蜜桃资源一区二区老牛 | 欧美综合一区 | 久在线视频 | 国产精品成人一区二区三区夜夜夜 | 国产精品成人国产乱一区 | 精品久久一区 | 成人免费视频 | 欧美一区二区三区精品 | hdfreexxxx中国妞 | av网站在线播放 | 自拍偷拍亚洲视频 | 日韩伦理一区二区 | 亚洲精品自拍视频 | 亚洲成人免费网址 | 成人自拍视频网站 | 国产偷录叫床高潮录音 | 日韩免费网站 | 91亚洲欧美 | 91精品国产欧美一区二区成人 | 激情福利视频 | 国产精品久久久久久久久久东京 | 亚洲欧美激情视频 | 999免费观看视频 | 雨宫琴音一区二区在线 | 国产精品视频一区二区三 | 成人久久18免费 | 91久久久久 | 国产精品夜夜夜一区二区三区尤 | 国产日韩一区二区三区 | 日批的视频|