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

        <tfoot id='PnWyo'></tfoot>

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

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

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

      1. <legend id='PnWyo'><style id='PnWyo'><dir id='PnWyo'><q id='PnWyo'></q></dir></style></legend>
      2. XQuery 檢索值

        XQuery retrieval of a value(XQuery 檢索值)

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

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

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

                  本文介紹了XQuery 檢索值的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!

                  問題描述

                  限時送ChatGPT賬號..

                  我有以下 T-SQL 使用兩個條件確定行是否存在:

                  I have the following T-SQL that determines if a row exists using two criteria:

                  Declare @x xml = '
                      <row ParentID="45" ObjectID="0" Node="root.local.navigation[7]" itemKey="page" itemValue="Confirmation" itemType="string" />
                      <row ParentID="45" ObjectID="0" Node="root.local.navigation[7]" itemKey="visited" itemValue="false" itemType="bool" />'
                  
                  SELECT @x.exist('/row[@Node eq "root.local.navigation[7]"] and /row[@itemValue eq "Confirmation"]')
                  

                  問題:鑒于上面的 SELECT,我如何選擇第二行的 itemValue?即,由于有一行 Node="root.local.navigation[7]" 和 itemValue="Confirmation",在 node 相同且 itemKey="visited" 的行中返回 itemType 值?

                  Question: Given the above SELECT, how can I SELECT the second row's itemValue? i.e. Since there's a row with Node="root.local.navigation[7]" and itemValue="Confirmation", return the itemType value in the row where node is the same and itemKey="visited"?

                  推薦答案

                  這個怎么樣:

                  declare @x xml = '
                  <row ParentID="45" ObjectID="0" Node="root.local.navigation[7]" itemKey="page" itemValue="Confirmation" itemType="string" />
                  <row ParentID="45" ObjectID="0" Node="root.local.navigation[7]" itemKey="visited" itemValue="false" itemType="bool" />'
                  
                  select case when @x.exist('/row[@Node eq "root.local.navigation[7]"] and /row[@itemValue eq "Confirmation"]') = 1 
                      then @x.value('/row[@Node eq "root.local.navigation[7]" and @itemKey eq "visited"][1]/@itemType', 'varchar(50)') 
                  end as item_type
                  

                  這篇關(guān)于XQuery 檢索值的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

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

                  相關(guān)文檔推薦

                  SQL query to get all products, categories and meta data woocommerce/wordpress(獲取所有產(chǎn)品、類別和元數(shù)據(jù)的 SQL 查詢 woocommerce/wordpress)
                  Can I figure out a list of databases and the space used by SQL Server instances without writing SQL queries?(我可以在不編寫 SQL 查詢的情況下找出數(shù)據(jù)庫列表和 SQL Server 實(shí)例使用的空間嗎?) - IT屋-程序員軟件開發(fā)
                  How to create a login to a SQL Server instance?(如何創(chuàng)建對 SQL Server 實(shí)例的登錄?)
                  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()?(為什么會出現(xiàn)“數(shù)據(jù)類型轉(zhuǎn)換錯誤?使用 ExecuteNonQuery()?)
                  How to show an image from a DataGridView to a PictureBox?(如何將 DataGridView 中的圖像顯示到 PictureBox?)

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

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

                          <bdo id='liFjj'></bdo><ul id='liFjj'></ul>
                            主站蜘蛛池模板: 波多野吉衣在线播放 | 国产一区二区三区四区三区四 | 久热9| 午夜影院在线观看版 | 日本高清视频网站 | 成人午夜在线 | 国产高清在线精品 | 日本中文字幕一区 | 国产真实精品久久二三区 | 亚洲精品白浆高清久久久久久 | 毛片视频免费 | 国产三级精品三级在线观看四季网 | 色爱综合网 | 国产在线视频一区二区 | 亚洲午夜精品 | 国产精品欧美日韩 | 欧美久久久久久久 | 96av麻豆蜜桃一区二区 | 在线播放精品视频 | 久久免费小视频 | 国产欧美精品一区二区三区 | 一区欧美 | 亚洲色视频 | 天天弄| 成人精品鲁一区一区二区 | 精品久久久久久久久亚洲 | 天堂一区二区三区四区 | 一区二区三区欧美在线 | 欧美偷偷 | 91免费观看在线 | 91成人免费电影 | 亚洲欧美国产精品久久 | 99精品国产一区二区三区 | 一级做a爰片性色毛片 | 99精品视频免费观看 | 国产一区二区三区视频 | 在线视频成人 | 黄色免费在线网址 | 国产美女一区二区 | 日韩免费av | 99在线精品视频 |