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

<small id='7Kg56'></small><noframes id='7Kg56'>

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

        SQL 錯(cuò)誤:“沒(méi)有這樣的表"

        SQL Error :quot;No such tablequot;(SQL 錯(cuò)誤:“沒(méi)有這樣的表)

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

            • <bdo id='cLLXD'></bdo><ul id='cLLXD'></ul>
            • <tfoot id='cLLXD'></tfoot>
                <tbody id='cLLXD'></tbody>
              <legend id='cLLXD'><style id='cLLXD'><dir id='cLLXD'><q id='cLLXD'></q></dir></style></legend>

                  本文介紹了SQL 錯(cuò)誤:“沒(méi)有這樣的表"的處理方法,對(duì)大家解決問(wèn)題具有一定的參考價(jià)值,需要的朋友們下面隨著小編來(lái)一起學(xué)習(xí)吧!

                  問(wèn)題描述

                  我正在嘗試解決為什么我的代碼對(duì)所有查詢都返回 null 的原因,最后發(fā)現(xiàn) sql 查詢什么都不返回.我用簡(jiǎn)約的代碼創(chuàng)建了一個(gè)新的 AIR 文檔 (s:WindowedApplication):

                  I am trying to troubleshoot why my code returned null for all my queries and finally found that sql query returns nothing. I created a new AIR document (s:WindowedApplication) with minimalistic code:

                  <fx:Script>
                          <![CDATA[
                              import mx.events.FlexEvent;
                  
                              private var sqlConnection:SQLConnection;
                              private var select:SQLStatement;
                              private var databaseFile:File;
                  
                              protected function windowedapplication1_creationCompleteHandler(event:FlexEvent):void
                              {
                                  var dbPath:String = "Movie Manager Settings/moovioDB2.db";
                                  databaseFile = File.userDirectory.resolvePath(dbPath);
                                  sqlConnection = new SQLConnection();
                                  select = new SQLStatement();
                  
                                  sqlConnection.addEventListener(SQLEvent.OPEN, onDatabaseOpen);
                                  sqlConnection.openAsync();
                              }
                  
                              private function onDatabaseOpen(event:SQLEvent):void
                              {
                                  select.sqlConnection = sqlConnection;
                                  var query:String = "SELECT title FROM movies";
                                  select.text = query;
                                  select.addEventListener(SQLEvent.RESULT, done);
                                  select.execute();
                              }
                  
                              private function done(event:SQLEvent):void{
                                  var res:SQLResult = select.getResult();
                              }
                  
                          ]]>
                      </fx:Script>
                  

                  除此代碼外,只有 Flex 創(chuàng)建的標(biāo)準(zhǔn)標(biāo)簽.執(zhí)行后,我收到此錯(cuò)誤:

                  Other than this code theres is just the standard tags created by Flex. Upon execution I get this error:

                  Error #2044: Unhandled SQLErrorEvent:. errorID=3115, operation=execute , message=Error #3115: SQL Error. , details=no such table: 'movies'
                  

                  我已經(jīng)用 2 個(gè)不同的 sqlite 程序檢查了數(shù)據(jù)庫(kù)文件并成功執(zhí)行了查詢.電影"表和標(biāo)題"列都存在.如果重要,電影是 3 個(gè)表之一,并且有超過(guò) 10 個(gè)列都存在值.

                  I have checked the database file with 2 different sqlite programs and executed the query successfully. Both 'movies' table and 'title' column exists. In case it matters movies is one of 3 tables and has over 10 columns all with values present.

                  我做錯(cuò)了什么?我之前使用了相同的代碼(我認(rèn)為)并獲得了預(yù)期的結(jié)果,但現(xiàn)在經(jīng)過(guò)一些更改后,我什至可以在新文檔中使用此基本代碼.請(qǐng)檢查一下,看看我是否犯了一個(gè)愚蠢的錯(cuò)誤,因?yàn)槲铱床坏剿?)

                  What am I doing wrong? I used identical code(I thought) before with expected results, but after some changes now I can even get this basic code in a new document to work. Please check it out and see if I am making a stupid mistake because I can't see it :)

                  推薦答案

                  你能驗(yàn)證你打開的數(shù)據(jù)庫(kù)的路徑是你用外部工具檢查過(guò)的那個(gè)文件嗎?您可以在 AS3 代碼中使用 database_list pragma.就像執(zhí)行任何其他 SQL 語(yǔ)句一樣執(zhí)行它:

                  Can you verify that the path of the database you open is the one of that file you checked with external tools? You can use the database_list pragma from within you AS3 code. Just execute it as any other SQL statement:

                  [user@host ~]$ cd /tmp
                  [user@host tmp]$ sqlite3 foo.db
                  SQLite version 3.7.11 2012-03-20 11:35:50
                  Enter ".help" for instructions
                  Enter SQL statements terminated with a ";"
                  sqlite> pragma database_list;
                  0|main|/tmp/foo.db
                  

                  這篇關(guān)于SQL 錯(cuò)誤:“沒(méi)有這樣的表"的文章就介紹到這了,希望我們推薦的答案對(duì)大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

                  【網(wǎng)站聲明】本站部分內(nèi)容來(lái)源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問(wèn)題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請(qǐng)聯(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 個(gè)先前值來(lái)決定接下來(lái)的 N 個(gè)行)
                  reuse the result of a select expression in the quot;GROUP BYquot; clause?(在“GROUP BY中重用選擇表達(dá)式的結(jié)果;條款?)
                  Does ignore option of Pyspark DataFrameWriter jdbc function ignore entire transaction or just offending rows?(Pyspark DataFrameWriter jdbc 函數(shù)的 ignore 選項(xiàng)是忽略整個(gè)事務(wù)還是只是有問(wèn)題的行?) - IT屋-程序員軟件開發(fā)技
                  Error while using INSERT INTO table ON DUPLICATE KEY, using a for loop array(使用 INSERT INTO table ON DUPLICATE KEY 時(shí)出錯(cuò),使用 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 時(shí)發(fā)生錯(cuò)誤 沒(méi)有合適的驅(qū)動(dòng)程序)
                  How to integrate Apache Spark with MySQL for reading database tables as a spark dataframe?(如何將 Apache Spark 與 MySQL 集成以將數(shù)據(jù)庫(kù)表作為 Spark 數(shù)據(jù)幀讀取?)
                      <tbody id='M3PFF'></tbody>
                    <i id='M3PFF'><tr id='M3PFF'><dt id='M3PFF'><q id='M3PFF'><span id='M3PFF'><b id='M3PFF'><form id='M3PFF'><ins id='M3PFF'></ins><ul id='M3PFF'></ul><sub id='M3PFF'></sub></form><legend id='M3PFF'></legend><bdo id='M3PFF'><pre id='M3PFF'><center id='M3PFF'></center></pre></bdo></b><th id='M3PFF'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='M3PFF'><tfoot id='M3PFF'></tfoot><dl id='M3PFF'><fieldset id='M3PFF'></fieldset></dl></div>
                    <legend id='M3PFF'><style id='M3PFF'><dir id='M3PFF'><q id='M3PFF'></q></dir></style></legend>

                    <tfoot id='M3PFF'></tfoot>

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

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

                            主站蜘蛛池模板: 亚洲激情网站 | 欧美日韩中文字幕 | 男女羞羞视频在线看 | 亚洲免费人成在线视频观看 | 99爱国产| 亚洲一区二区在线电影 | 久久精品影视 | 精品一区二区三区不卡 | 欧美在线视频一区 | 99精品久久久久久中文字幕 | 亚洲天堂成人在线视频 | 久久久久se | 国产视频中文字幕在线观看 | 毛片一级片 | 亚洲欧美中文日韩在线v日本 | 国产乱码精品一区二区三区中文 | 一本一道久久a久久精品综合 | 国产亚洲日本精品 | 男女在线免费观看 | 日本人和亚洲人zjzjhd | 91 在线| 亚洲三级视频 | 日韩视频在线免费观看 | 天堂一区 | 国产乱码精品一区二区三区忘忧草 | 色.com| 岛国毛片在线观看 | 中文字幕不卡在线88 | 成人三级视频 | 国产精品精品视频一区二区三区 | 亚洲一区二区久久久 | 精品国产一区二区三区久久狼黑人 | 欧美日韩手机在线观看 | 伊人免费在线观看 | 久久国产欧美日韩精品 | 男女羞羞视频大全 | 国产精品久久久久久久久久免费 | 91综合网 | 午夜寂寞影院在线观看 | 国产精品精品视频一区二区三区 | 国产黄色大片在线免费观看 |