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

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

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

      1. 如何在 XML 中向我的根添加常量?

        How can I add constants to my root in XML?(如何在 XML 中向我的根添加常量?)
        <legend id='m1G74'><style id='m1G74'><dir id='m1G74'><q id='m1G74'></q></dir></style></legend>

              <tbody id='m1G74'></tbody>
              <tfoot id='m1G74'></tfoot>

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

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

                • 本文介紹了如何在 XML 中向我的根添加常量?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  限時送ChatGPT賬號..

                  這是我生成 XML 的查詢:

                  This is my query that generates an XML:

                  SELECT [a]                             a
                        ,[b]                             b
                        ,[c]                             c
                        ,[d]                             d
                        ,[e]                             e
                        ,[f]                             f
                        ,[g]                             g
                    FROM test
                    ORDER BY 1
                    FOR XML PATH('a'), ROOT('ROOT'), ELEMENTS XSINIL
                  

                  生成的 XML 以這個根開始:

                  The XML generated starts with this root:

                  我的目標是擁有一個具有更多屬性的根

                  My goal is to have a root with more attributes

                  這個屬性就像我想附加到我的根的常量(它們不是來自 select 的列).它們將被修復,無論選擇什么

                  This attributes are like constants (thet are not columns from select) that I want to append to my root. They will be fixed, whatever will be the select

                  可以嗎?

                  推薦答案

                  這是一個概念性示例.請試一試.

                  Here is a conceptual example. Please give it a shot.

                  SQL

                  -- DDL and sample data population, start
                  DECLARE @tbl TABLE (ID INT IDENTITY PRIMARY KEY, city VARCHAR(30));
                  INSERT INTO @tbl (city) VALUES
                  ('Miami'),
                  ('Orlando');
                  -- DDL and sample data population, end
                  
                  SELECT 'SIN_OPE' AS [@cod_1], '08' AS [@cod_2], '12' AS [@num_reg]
                      , 'yyyyyyyyyyyyyyyyyyy.xsd' AS [@xsi:noNamespaceSchemaLocation]
                  , (
                      SELECT * 
                      FROM @tbl
                      FOR XML PATH('r'), TYPE
                  )
                  FOR XML PATH('root'), TYPE, ELEMENTS XSINIL;
                  

                  輸出

                  <root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" cod_1="SIN_OPE"
                        cod_2="08" num_reg="12"
                        xsi:noNamespaceSchemaLocation="yyyyyyyyyyyyyyyyyyy.xsd">
                      <r>
                          <ID>1</ID>
                          <city>Miami</city>
                      </r>
                      <r>
                          <ID>2</ID>
                          <city>Orlando</city>
                      </r>
                  </root>
                  

                  這篇關于如何在 XML 中向我的根添加常量?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

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

                  相關文檔推薦

                  SQL query to get all products, categories and meta data woocommerce/wordpress(獲取所有產品、類別和元數據的 SQL 查詢 woocommerce/wordpress)
                  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?)

                        <tbody id='c4x8Z'></tbody>

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

                        <bdo id='c4x8Z'></bdo><ul id='c4x8Z'></ul>
                        <tfoot id='c4x8Z'></tfoot>

                          <legend id='c4x8Z'><style id='c4x8Z'><dir id='c4x8Z'><q id='c4x8Z'></q></dir></style></legend>

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

                          • 主站蜘蛛池模板: 91中文字幕在线 | 亚洲精品国产a久久久久久 午夜影院网站 | 亚洲一区二区三区免费观看 | 亚洲国产成人精品女人久久久 | 麻豆视频在线免费观看 | 日韩在线精品 | 毛片一级片 | 国产视频一区二区 | 国产精品成人国产乱一区 | 中文字幕久久精品 | 日韩h| 国产成人99久久亚洲综合精品 | 中文字幕乱码一区二区三区 | 久久综合爱 | av在线免费观看网站 | 国产精品欧美日韩 | 青青草一区二区 | 一区二区三区免费 | 欧美日韩成人 | 日本一区视频在线观看 | 精品乱码一区二区 | 日韩一区二区三区在线观看 | 国产精品123区 | 国产日韩欧美激情 | 久久精品一区二区 | 国产一区二区三区视频 | 一区二区伦理电影 | 国产成人免费观看 | 能看的av网站 | 久久噜噜噜精品国产亚洲综合 | 精品亚洲一区二区 | 精产国产伦理一二三区 | 精品欧美激情精品一区 | 欧美亚州综合 | 亚洲看片| 亚洲夜夜爽 | 久久综合久 | 91视频网| 亚洲国产二区 | 国产在线观看一区 | 亚洲狠狠 |