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

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

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

      2. <legend id='pUKjR'><style id='pUKjR'><dir id='pUKjR'><q id='pUKjR'></q></dir></style></legend>
          <bdo id='pUKjR'></bdo><ul id='pUKjR'></ul>

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

        Ansible 中的 SQL Server 數據庫查詢

        SQL Server database queries in Ansible(Ansible 中的 SQL Server 數據庫查詢)

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

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

        1. <tfoot id='vyQg5'></tfoot>

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

                <legend id='vyQg5'><style id='vyQg5'><dir id='vyQg5'><q id='vyQg5'></q></dir></style></legend>
                  <tbody id='vyQg5'></tbody>
                  本文介紹了Ansible 中的 SQL Server 數據庫查詢的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  限時送ChatGPT賬號..

                  我想知道社區中是否有人使用 Ansible 操作過 Microsoft SQL Server 數據庫?

                  I would like to find out if anyone in the community has used Ansible to manipulate a Microsoft SQL Server database?

                  我們想向我們用 Ansible 編寫的環境配置腳本添加一個任務,該腳本將 INSERT 行插入到 SQL Server 表中.這些行將具有在我們的變量文件中指定的參數.

                  We want to add a task to our environment configuration scripts written in Ansible that will INSERT rows into a SQL Server table. The rows will have parameters that are specified in our variables files.

                  我一直無法找到實現此目的的特定 Ansible 模塊,所以想聽聽是否有人在其他方面取得了成功?

                  I have been unable to locate a specific Ansible module for achieving this so would like to hear if anyone has has success in some other way?

                  推薦答案

                  為了完整起見,這里是 Ansible to SELECT & 中使用的解決方案的語法.插入 Microsoft SQL Server:

                  For completeness here is the syntax of the solution used in Ansible to SELECT & INSERT for Microsoft SQL Server:

                  插入

                  - name: 'insert row to SQL server DB'
                    win_shell: "invoke-sqlcmd -username \"{{db_user}}\" -password \"{{db_pass}}\" -Query \"INSERT INTO Addresses (DoorNum,Street,Town,PostCode) VALUES ({{ item.doornum }},'{{ item.street }}','{{ item.town }}''{{ item.postcode }}')\""
                  

                  選擇

                  - name: 'select from SQL server DB'
                    win_shell: "invoke-sqlcmd -username \"{{db_user}}\" -password \"{{db_pass}}\" -Query \"SELECT ID FROM Addresses WHERE PostCode = '{{ item.postcode }}'\" | Select-Object * -ExcludeProperty ItemArray, Table, RowError, RowState, HasErrors | ConvertTo-Json"
                    register: response
                  
                  - set_fact:
                      ids: "{{ response.stdout|from_json}}"
                  
                  - debug:
                      var: ids
                  

                  這篇關于Ansible 中的 SQL Server 數據庫查詢的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

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

                  相關文檔推薦

                  Can I figure out a list of databases and the space used by SQL Server instances without writing SQL queries?(我可以在不編寫 SQL 查詢的情況下找出數據庫列表和 SQL Server 實例使用的空間嗎?) - IT屋-程序員軟件開發
                  How to create a login to a SQL Server instance?(如何創建對 SQL Server 實例的登錄?)
                  How to know the version and edition of SQL Server through registry search(如何通過注冊表搜索知道SQL Server的版本和版本)
                  Why do I get a quot;data type conversion errorquot; with ExecuteNonQuery()?(為什么會出現“數據類型轉換錯誤?使用 ExecuteNonQuery()?)
                  How to show an image from a DataGridView to a PictureBox?(如何將 DataGridView 中的圖像顯示到 PictureBox?)
                  WinForms application design - moving documents from SQL Server to file storage(WinForms 應用程序設計——將文檔從 SQL Server 移動到文件存儲)
                  <legend id='rju6h'><style id='rju6h'><dir id='rju6h'><q id='rju6h'></q></dir></style></legend>

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

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

                            <bdo id='rju6h'></bdo><ul id='rju6h'></ul>
                              <tbody id='rju6h'></tbody>

                          • <tfoot id='rju6h'></tfoot>
                            主站蜘蛛池模板: 久久久久国产成人精品亚洲午夜 | 91亚洲国产 | 国产成人精品免费视频大全最热 | 免费看一区二区三区 | 区一区二在线观看 | 波多野结衣一区二区三区在线观看 | 羞视频在线观看 | 国产高清在线视频 | 欧美午夜在线 | 日韩视频在线播放 | 日本免费视频在线观看 | 国产福利一区二区 | 瑞克和莫蒂第五季在线观看 | 国产99小视频 | 日韩毛片播放 | 久久三级影院 | 亚洲精品丝袜日韩 | 欧美看片 | 欧美久久一区 | 在线视频一区二区三区 | 九九免费视频 | 亚洲成av | 中文字幕免费视频 | 九色91视频| 99精品欧美一区二区蜜桃免费 | 香蕉婷婷 | 精品欧美一区二区三区久久久 | 97视频免费 | 成人精品一区二区三区中文字幕 | 欧美色综合网 | 久久久久久国产精品三区 | 免费a网 | 久久成人一区 | 国产视频在线观看一区二区三区 | 黄色香蕉视频在线观看 | 日韩在线精品视频 | 日韩精品一区二区三区在线播放 | 中文字幕在线看第二 | 日本精品视频在线观看 | 一级a性色生活片久久毛片 午夜精品在线观看 | 91视频在线观看免费 |