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

    • <bdo id='XovZJ'></bdo><ul id='XovZJ'></ul>
  • <tfoot id='XovZJ'></tfoot>

    1. <small id='XovZJ'></small><noframes id='XovZJ'>

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

        在 mysql 表名中使用 (-) 破折号

        using (-) dash in mysql table name(在 mysql 表名中使用 (-) 破折号)
          <tbody id='r6Ckl'></tbody>

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

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

            1. <tfoot id='r6Ckl'></tfoot>
                <bdo id='r6Ckl'></bdo><ul id='r6Ckl'></ul>
                  <i id='r6Ckl'><tr id='r6Ckl'><dt id='r6Ckl'><q id='r6Ckl'><span id='r6Ckl'><b id='r6Ckl'><form id='r6Ckl'><ins id='r6Ckl'></ins><ul id='r6Ckl'></ul><sub id='r6Ckl'></sub></form><legend id='r6Ckl'></legend><bdo id='r6Ckl'><pre id='r6Ckl'><center id='r6Ckl'></center></pre></bdo></b><th id='r6Ckl'></th></span></q></dt></tr></i><div id='r6Ckl'><tfoot id='r6Ckl'></tfoot><dl id='r6Ckl'><fieldset id='r6Ckl'></fieldset></dl></div>
                • 本文介绍了在 mysql 表名中使用 (-) 破折号的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我想备份我的数据库时出错

                  There is an error while i want to backup my database

                  A Database Error Occurred
                  
                  Error Number: 1064
                  
                  You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-01-000001' at line 1
                  
                  SELECT * FROM temp_01-01-000001
                  
                  Filename: F:\xampp\htdocs\erp_zaara\system\database\DB_driver.php
                  
                  Line Number: 330
                  

                  有没有办法用表名(temp_01-01-000001)解决这个问题.

                  Is there any way to solve this prob with the table name (temp_01-01-000001).

                  推荐答案

                  您可以编辑文件/system/database/drivers/mysql/mysql_utility.php 的第 132 行

                  You could edit line 132 of the file /system/database/drivers/mysql/mysql_utility.php

                  来自:

                  $query = $this->db->query("SELECT * FROM $table");
                  

                  致:

                  $query = $this->db->query("SELECT * FROM `$table`");
                  

                  这篇关于在 mysql 表名中使用 (-) 破折号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

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

                  相关文档推荐

                  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 分钟))
                  <tfoot id='ZccGE'></tfoot>

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

                    1. <small id='ZccGE'></small><noframes id='ZccGE'>

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

                            <tbody id='ZccGE'></tbody>