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

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

        <small id='3YC7F'></small><noframes id='3YC7F'>

        <tfoot id='3YC7F'></tfoot>

        從 varchar(max) 列中選擇 XML

        Select XML from varchar(max) column(從 varchar(max) 列中選擇 XML)

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

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

                    <tbody id='hSTnh'></tbody>
                1. 本文介紹了從 varchar(max) 列中選擇 XML的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  限時送ChatGPT賬號..

                  我在 SQL Server 2005 的 varchar(max) 列中存儲了一些 XML 數據.數據采用以下格式(FQTN = 完全限定類型名稱):

                  I have some XML data stored in a varchar(max) column on SQL Server 2005. The data is in the form (FQTN = fully qualified type name):

                  <?xml version="1.0" encoding="utf-16"?>
                  <History xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
                    <EntityViews>
                      <EntityProxy Type="FQTN" Key="386876" />
                      <EntityProxy Type="FQTN" Key="387981" />
                      <!-- etc. -->
                    </EntityViews>
                  </History>
                  

                  如何選擇類型、鍵,以便從該列中的 XML 數據中獲得單行的表格結果?該表有一個名為 HistoryId 的身份主鍵.

                  How can I select Type, Key so that I get a tabular result from the XML data in this column for a single row? The table has an identity primary key named HistoryId.

                  推薦答案

                  ;with cteCastToXML as (
                      select CAST(YourColumn as xml) as x
                          from YourTable
                  )
                  select h.ep.value('@Type','varchar(10)') as [Type],
                         h.ep.value('@Key', 'varchar(10)') as [Key]
                      from cteCastToXML
                          cross apply x.nodes('/History/EntityViews/EntityProxy') as h(ep)
                  

                  這篇關于從 varchar(max) 列中選擇 XML的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持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 移動到文件存儲)
                    <tbody id='QqIQx'></tbody>
                  <i id='QqIQx'><tr id='QqIQx'><dt id='QqIQx'><q id='QqIQx'><span id='QqIQx'><b id='QqIQx'><form id='QqIQx'><ins id='QqIQx'></ins><ul id='QqIQx'></ul><sub id='QqIQx'></sub></form><legend id='QqIQx'></legend><bdo id='QqIQx'><pre id='QqIQx'><center id='QqIQx'></center></pre></bdo></b><th id='QqIQx'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='QqIQx'><tfoot id='QqIQx'></tfoot><dl id='QqIQx'><fieldset id='QqIQx'></fieldset></dl></div>

                    <tfoot id='QqIQx'></tfoot>

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

                        • <legend id='QqIQx'><style id='QqIQx'><dir id='QqIQx'><q id='QqIQx'></q></dir></style></legend>
                            <bdo id='QqIQx'></bdo><ul id='QqIQx'></ul>
                          • 主站蜘蛛池模板: 国产亚洲成av人片在线观看桃 | 国产成人精品一区二区三区四区 | 日韩在线播放网址 | 亚洲精品中文字幕中文字幕 | 免费在线观看一区二区 | 欧美中文字幕一区二区 | 夜夜精品浪潮av一区二区三区 | 91精品国产综合久久久久 | 色综合99| 天天曰天天干 | 中文字幕在线视频观看 | 国产一区三区在线 | 97超碰人人 | 日韩一区二区免费视频 | 久久久久久av | 成人在线a | 91精品国产色综合久久 | 久久久免费在线观看 | 欧美国产激情 | 日本久草 | 亚洲+变态+欧美+另类+精品 | 综合精品久久久 | av一区二区三区四区 | 亚洲精品久久久久久一区二区 | 久久日韩粉嫩一区二区三区 | 一区二区三区成人 | 国产精品高潮呻吟久久 | 拍戏被cao翻了h承欢 | 国产日韩一区二区三区 | 欧美久久一级特黄毛片 | 成人免费视频在线观看 | 午夜爱爱毛片xxxx视频免费看 | 久久久久久久久久久久久91 | 天天色av | 国产伦精品一区二区三区照片91 | 欧美狠狠操 | 久国产精品 | 香蕉久久久 | 激情久久av一区av二区av三区 | 精品久久久久久久久久久下田 | 伊色综合久久之综合久久 |