PRB: ?? ??? ????? ?????? sp_xml_preparedocument ?? 6603 ???

?????? ????????? ?????? ?????????
???? ???????: 279430 - ??? ???????? ???? ????? ????? ??? ???????.
????? ???? | ?? ????

?? ??? ??????

???????

??? ??????? ??????? sp_xml_preparedocument ????? ? ??? ????????? ?? ???? ????? ????? ???:
????? ????: 6603 ? 16 ??????? 1 ???? sp_xml_preparedocument ????? XML 19 ?? ??? ?? ???????: ?? ??????? ???? ????? ????? ???? ?? ??? ?????? ??? ??? ?????? ???.

?????

?? ????? ??????? sp_xml_preparedocument ????? ????? XML ??? ???? ??????.

????

?????? ????? XML ????? ??? ??????? sp_xml_preparedocument ????? ????????.

?????

???? ?????? ??? ???????.

??????? ????

?? ??? ?????????? ?? ???? ???????? ?????? ??? ????? ???? ???? ????? XML ???? ???? ???? ?????. ??????? ??? ??????? ??? ?????. ??? ???? ???? ????? ????? ????? ???? ???? ????? ?? ????? XML:
  1. ??? ????? XML ?? ??? ????? ?? ???? .xml.
  2. ????? ??? ??????? .xml ?? Microsoft Internet Explorer 4.01 ?????? ????????? ??? ??? .xml.

????? ????? ????? ??????

  1. ?? ???? ???????? ???????? ??????? ??? ???? ??????? SQL Server ?? ?? ?????? ????????? ????????:
    declare @hdoc int
    declare @doc varchar(1000)
    set @doc ='
    <ROOT>
    <Customers CustomerID="VINET" ContactName=123>
       <Orders CustomerID="VINET" EmployeeID="5" OrderDate="1996-07-04T00:00:00">
          <Order_0020_Details OrderID="10248" ProductID="11" Quantity="12"/>
          <Order_0020_Details OrderID="10248" ProductID="42" Quantity="10"/>
       </Orders>
    </Customers>
    <Customers CustomerID="LILAS" ContactName="Carlos Gonzlez">
       <Orders CustomerID="LILAS" EmployeeID="3"
    OrderDate="1996-08-16T00:00:00">
          <Order_0020_Details OrderID="10283" ProductID="72" Quantity="3"/>
       </Orders>
    </Customers>
    </ROOT>'
    --Create an internal representation of the XML document.
    exec sp_xml_preparedocument @hdoc OUTPUT, @doc
    exec sp_xml_removedocument @hDoc
    					


    ???? ????? ????? ???:
    ????? ????: 6603 ? 16 ??????? 1 ???? sp_xml_preparedocument ????? XML 19 ?? ??? ?? ???????: ?? ??????? ???? ????? ????? ???? ?? ??? ?????? ??? ??? ?????? ???.
  2. ??????? ????????? ???????? ?? ?????? 1? ??? ?? <root>??????</root> ??????.
  3. ??? ?? ?? ???? ???? ???? ?? ????? ?? ????? XML ??? ??? ??? ?? ???? .xml.
  4. ??? ??? .xml ????? ???? ?? ???? ??????? ????? ?? ?????? Internet Explorer. ???? ????? ????? ???:
    ?? ??????? ???? ????? ????? ???? ?? ??? ?????? ??? ??? ?????? ???.
    ????? ?????? ?????? 43

    <???? ?????? ??????? = "VINET" ????? ????? ??????? ??? = 123 >

    ------------------------------------------^

???????

???? ???????: 279430 - ????? ??? ??????: 07/?????/1424 - ??????: 3.2
????? ???
  • Microsoft SQL Server 2000 Standard Edition
????? ??????: 
kbmt kbprb KB279430 KbMtar
????? ????
???: ??? ????? ??? ?????? ???????? ?????? ????? ???? ????? ?????????? ????? ?? ????????? ?????? ????. ???? ???? ?????????? ???? ?? ???????? ???????? ?????? ????????? ????? ????????? ???????? ????? ???????? ?????? ?? ?????? ??? ?? ???????? ???????? ?? ????? ??????? ?????? ??? ??????? ?????? ??. ?????? ?? ???? ??? ??????? ???????? ????? ?? ???? ????? ?????? ??? ????? ??? ????? ??????? ?? ????? ?? ?????? ??? ??? ??????? ??????? ?? ????? ????? ????? ????? ?????. ?? ????? ???? ?????????? ??????? ??? ????? ?? ??????? ?? ????? ?????? ?? ??? ????? ?? ????? ??????? ?? ???????? ?? ??? ???????. ???? ???? ?????????? ???????? ??? ????? ?????? ??????? ??????
???? ??? ????? ??????? ?????? ??????????279430

????? ???????

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com