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

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

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

      1. SQLSRV 驅(qū)動(dòng)程序與用于 PHP 和 MS SQL Server 的 PDO 驅(qū)動(dòng)

        SQLSRV driver vs. PDO driver for PHP with MS SQL Server(SQLSRV 驅(qū)動(dòng)程序與用于 PHP 和 MS SQL Server 的 PDO 驅(qū)動(dòng)程序)
        <tfoot id='3RyTb'></tfoot>
      2. <legend id='3RyTb'><style id='3RyTb'><dir id='3RyTb'><q id='3RyTb'></q></dir></style></legend>

          • <bdo id='3RyTb'></bdo><ul id='3RyTb'></ul>

          • <small id='3RyTb'></small><noframes id='3RyTb'>

                <tbody id='3RyTb'></tbody>

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

                  本文介紹了SQLSRV 驅(qū)動(dòng)程序與用于 PHP 和 MS SQL Server 的 PDO 驅(qū)動(dòng)程序的處理方法,對(duì)大家解決問(wèn)題具有一定的參考價(jià)值,需要的朋友們下面隨著小編來(lái)一起學(xué)習(xí)吧!

                  問(wèn)題描述

                  在 SQLSRV 驅(qū)動(dòng)程序與 PDO 驅(qū)動(dòng)程序之間進(jìn)行選擇時(shí),我應(yīng)該考慮哪些因素(對(duì)于帶有 MS SQL 服務(wù)器的 PHP)?

                  What considerations should I take into account when choosing between SQLSRV driver vs. PDO driver (for PHP with MS SQL server)?

                  我看到了之前的 Stackoverflow 帖子(在 Windows 上使用 PHP 時(shí),哪個(gè)更好(1)SQL Server 的本機(jī)驅(qū)動(dòng)程序或(2)PDO 驅(qū)動(dòng)程序? )但答案似乎有點(diǎn)缺乏并且沒(méi)有沒(méi)有提到 這篇文章.

                  I saw this previous Stackoverflow post ( When using PHP on Windows, what is better (1) the native driver for SQL Server or (2) the PDO driver? ) but the answer seems a bit lacking and doesn't mention all the benefits of using the SQLSRV driver as mentioned in this article.

                  我正在尋找一個(gè)全面的和最新的(例如,SQLSRV 驅(qū)動(dòng)程序是否仍然只適用于 Windows?)答案,程序員可以將其稱為資源.

                  I'm looking for a comprehensive and up-to-date (eg. is it still the case that SQLSRV driver is only available for Windows?) answer that programmers can refer to as a resource.

                  推薦答案

                  PDO 允許您編寫(xiě)合理的 DB 中立的代碼.

                  PDO allows you to write you code to be reasonably DB-neutral.

                  如果你想要真正的數(shù)據(jù)庫(kù)中立,你會(huì)想要使用一個(gè)完整的數(shù)據(jù)庫(kù)抽象層,比如 NotORM-- 使用普通 PDO,您仍然需要注意 SQL 語(yǔ)法差異,但至少您的基本 PHP 代碼將與 DB 無(wú)關(guān).

                  If you want truly DB-neutral, you'd want to use a full DB abstraction layer like NotORM -- with plain PDO, you'd still need to be careful about SQL syntax difference, but at least your basic PHP code would be DB-neutral.

                  DB 中立現(xiàn)在似乎并不重要——如果你使用 SQL Server,那么你可能被告知這是必需的,沒(méi)有別的——但是你無(wú)法預(yù)測(cè)事情會(huì)如何改變未來(lái),所以如果選擇是在 DB 中立驅(qū)動(dòng)程序和 DB 特定驅(qū)動(dòng)程序之間,并且您沒(méi)有任何其他理由偏愛(ài),那么選擇中性驅(qū)動(dòng)程序......它會(huì)讓生活變得很多如果您的公司被接管并且新老板想使用 Oracle 作為數(shù)據(jù)庫(kù),則更容易!

                  Being DB-neutral may not seem important now -- if you're using SQL Server, then you've probably been told that's what is required and nothing else -- but you can't predict how things will change in the future, so if the choice is between a DB-neutral driver and a DB-specific driver, and you don't have any other reason for a preference, then go with the neutral one.... it'll make life a lot easier if your company gets taken over and the new boss wants to use Oracle as the DB!

                  此外,因?yàn)樗?DB 中立的,所以 PDO 在 PHP 社區(qū)中更標(biāo)準(zhǔn)且更廣為人知.與使用 MSSQL 驅(qū)動(dòng)程序相比,您將從在線站點(diǎn)(如本站點(diǎn))獲得更多有關(guān) PDO 的幫助.

                  Also, because it's DB neutral, PDO is more standard and more well-known in the PHP community. You'll get a lot more help with PDO from sites online (like this one) than with the MSSQL driver.

                  這篇關(guān)于SQLSRV 驅(qū)動(dòng)程序與用于 PHP 和 MS SQL Server 的 PDO 驅(qū)動(dòng)程序的文章就介紹到這了,希望我們推薦的答案對(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)文檔推薦

                  Deadlock exception code for PHP, MySQL PDOException?(PHP、MySQL PDOException 的死鎖異常代碼?)
                  PHP PDO MySQL scrollable cursor doesn#39;t work(PHP PDO MySQL 可滾動(dòng)游標(biāo)不起作用)
                  PHP PDO ODBC connection(PHP PDO ODBC 連接)
                  Using PDO::FETCH_CLASS with Magic Methods(使用 PDO::FETCH_CLASS 和魔術(shù)方法)
                  php pdo get only one value from mysql; value that equals to variable(php pdo 只從 mysql 獲取一個(gè)值;等于變量的值)
                  MSSQL PDO could not find driver(MSSQL PDO 找不到驅(qū)動(dòng)程序)
                • <small id='dXYn7'></small><noframes id='dXYn7'>

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

                          • <bdo id='dXYn7'></bdo><ul id='dXYn7'></ul>
                            主站蜘蛛池模板: 久久久噜噜噜久久中文字幕色伊伊 | 日韩成人在线一区 | 欧美性大战xxxxx久久久 | 日韩中文字幕视频 | 91av精品 | 亚洲成人av | 国产欧美一区二区精品忘忧草 | h视频免费看 | 日本免费黄色 | 精品国产乱码久久久久久影片 | 一级在线观看 | 一区二区视频在线 | 国产视频第一页 | 中文字幕日韩在线观看 | 视频一区二区三区中文字幕 | 亚洲高清在线 | 国产一区二区欧美 | 日本黄色影片在线观看 | 免费黄色的视频 | 日韩在线观看一区 | 日韩视频一级 | 亚洲网站免费看 | 亚洲欧美日韩在线 | 欧美成人二区 | 欧美高清性xxxxhd | 影音先锋中文字幕在线观看 | 国产在线播放av | 欧美久久免费观看 | 狠狠av| 成人在线中文字幕 | 久久久青草婷婷精品综合日韩 | 黄色小视频入口 | 人人干视频在线 | 欧美福利专区 | 欧美欧美欧美 | 久久av综合| 日本久久网| 亚洲一区二区三区免费视频 | 国产在线视频一区二区 | 日韩成人精品一区 | 久久新 |