FIX: ???? ??????? ?????? ???? FOR AUTO XML ?????? ????? ?????? ?? SQL Server 2000 ??? SQL Server 2005

?????? ????????? ?????? ?????????
???? ???????: 945901 - ??? ???????? ???? ????? ????? ??? ???????.
???: # 50001958 (??????? ?????? SQL)
Microsoft ?????? ????????? Microsoft SQL Server 2005 ???? ???? ??????? ???????. ??? ????????? ???????? ????? ?? ????? ???? ???? ????????? ??????? ????? ???? ??????? ?????? ???? ?? ??????? ?? SQL Server 2005 ??????? ???????.
????? ???? | ?? ????

?? ??? ??????

???????

??? ????? ??????? ???? ?????? ????? FOR AUTO XML ?? Microsoft SQL Server 2005 ??????? ????? ?? ??????? ???? ???? ??? ????? ??? ????????? ?? SQL Server 2000. ???? ??? ??????? ??? ????? ???????? ?????????:
  • ???? ???????? ????????? ???? ????? ?? ????.
  • ?? ???? ????? ?????? ?????? ??? ?????? ??????. ??? ???? ??????? ????????? ?????? ???? ????? ??????? ??? ???? ?? ??? ???????? datetime:
    cast(ColumnA as datetime) as ColumnB
???????? ??? ???? ??? ??? ?????? ????? ????? ????? ?????? ?????? ??? 80 ?? ????? ????????? ??? ???? ??????? ????? ?? ???? ??????? ?? SQL Server 2000.

?????

???? ??? ??????? ????? ??? ?????? ????? ????? ?????? SQL Server 2005 ???? ????? ????? ????? ???? ????? ?????? ?????? ?????? ??????? ?????? ??? ??? ?????? ?????? "?" ?????? ??????. ??? ???? ???? ????? ?????? SQL Server 2000 ????? ???? ????? ??.

????

?? ????? ??????? ????? ???? ??????? ????? ?? ??????? ???????? 5. ????? ?? ????????? ??? ????? ?????? ??? ???? ??????? ???????? ??? ?? SQL Server 2005 ?????? ????? ?????? SP2 ???? ??? ??? ??????? ?????? ?????? ?? "????? ??????? ?? Microsoft:
943656???? ??????? ???????? 5 SQL Server 2005 ?????? ????? ?????? SP2
?????? ??? ????????? ???????? ????? ?? ????? ????? ???? ???? ????????? ??????? ????? ???? ??????? ?????? ???? ?? ??????? ?? SQL Server 2005 ??????? ???????. ???? Microsoft ?????? ????? ???? ????? ??????? ???? ????? ??? ??? ??????? ??????. ????? ?? ?????????? ???? ??? ??? ??????? ?????? ?????? ?? "????? ??????? ?? Microsoft:
937137???? SQL Server 2005 ???? ?? ??????? ??? ????? SQL Server 2005 ?????? ????? ?????? SP2
??? ????? ????????? ??????? Microsoft SQL Server 2005 ??? ???? SQL Server ?????. ??? ????? ??????? ???? SQL Server 2005 ?????? ????? ?????? SP2 ??? ????? SQL Server 2005 ?????? ????? ?????? SP2. ???? ???????? ??? ????? ????????? ??????? ???????? ?? ???? ???? ?? SQL Server ?? ???? ???? ?? SQL Server ???????.

?????

???? Microsoft ?? ??? ????? ?? ?????? Microsoft ??????? ?? ??? "????? ???".

??????? ????

??? ????? ??? ??????? ?????? ???? ????? ??????? ??? SQL Server 2000 ? SQL Server 2005 ??? ????? ????? ????? ????? ?????? ?????? ??? 80 ?? ????????? ???? ??? "???????".

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

  1. ????? ????? ????? ?????? Northwind ??? ???? ?? SQL Server 2005 ??? ???? ?? SQL Server 2000.
  2. ????? ????????? ?????? ?? ?? ?? ?????? ?? SQL:
    select top 1 t1.orderid
     ,t1.customerid
     ,t2.productid
     ,t1.shipregion
     ,cast(t2.unitPrice as money) unitPrice
     ,cast(t1.OrderDate as datetime) as OrderDate
     from orders t1
     join [order Details] t2 on t1.orderid= t2.orderid
     where shipregion is not null
     for xml auto
    
?? ???? SQL Server 2000 ????? ??????? ???????:
<t1 orderid="10283" customerid="LILAS" shipregion="Lara">
 <t2 productid="15" unitPrice="12.4000" OrderDate="1996-08-16T00:00:00" />
 </t1>
?? ???? SQL Server 2005 ????? ??????? ???????:
<t1 orderid="10250" customerid="HANAR" shipregion="RJ" OrderDate="1996-07-08T00:00:00">
 <t2 productid="41" unitPrice="7.7000" />
 </t1>
?????? ??? ???? ?? ????????? ??? ????? ?? ?? ??????? ? ?????? ??? ??????? ??? ??? ??????? ????? ?????? ???? ??????? ???????? ???? ????? ??? ??????? ?????? ?????? ?? ????? "????? ??????? ?? Microsoft" ??? ???? ??? ??? ??????? ?????? ?????? ?? "????? ??????? ?? Microsoft:
943656???? ??????? ???????? 5 SQL Server 2005 ?????? ????? ?????? SP2

?????

?????? ??? ???? ?? ????????? ??? ??????? ????????? ???? ????? ??? ???? ?????? Service Pack 2 ?????? ?? SQL Server ???? ??? ??? ??????? ?????? ?????? ?? "????? ??????? ?? Microsoft:
937137???? SQL Server 2005 ???? ?? ??????? ??? ????? SQL Server 2005 ?????? ????? ?????? SP2
????? ?? ????????? ??? "????? ????? ??????" ?? SQL Server ???? ??? ??? ??????? ?????? ?????? ?? "????? ??????? ?? Microsoft:
935897????? "????? ????? ??????" ?? ???? SQL Server ?????? ????????? ??????? ??????? ?? ??????? ????
?????? ??? ???? ?? ????????? ??? ????? ?????? ??? SQL Server 2005 ?????? ????? ?????? SP2 ???? ??? ??? ??????? ?????? ?????? ?? "????? ??????? ?? Microsoft:
913089????? ?????? ??? ???? ???? ???? ?? SQL Server 2005
????? ?? ????????? ??? ??????? ??????? ?????????? ?? SQL Server 2005 ?????? ????? ?????? SP2 ?? ?????? ???? Microsoft ?????? ??? ?????:
http://go.microsoft.com/fwlink/?LinkId=71711
????? ?? ????????? ??? ???? ??????? ???????? SQL Server "? ???? ??? ??? ??????? ?????? ?????? ??" ????? ??????? ?? Microsoft:
822499???? ????? ????? ??? ??????? ????? Microsoft SQL Server
????? ?? ????????? ??? ??????? ????? ??????? "? ???? ??? ??? ??????? ?????? ?????? ??" ????? ??????? ?? Microsoft:
824684??? ????????? ???????? ????????? ?? ??? ??????? ????? Microsoft

???????

???? ???????: 945901 - ????? ??? ??????: 24/?? ?????/1428 - ??????: 1.1
????? ???
  • Microsoft SQL Server 2005 Standard Edition
  • Microsoft SQL Server 2005 Developer Edition
  • Microsoft SQL Server 2005 Enterprise Edition
  • Microsoft SQL Server 2005 Standard X64 Edition
  • Microsoft SQL Server 2005 Standard Edition for Itanium Based Systems
  • Microsoft SQL Server 2005 Enterprise X64 Edition
  • Microsoft SQL Server 2005 Enterprise Edition for Itanium Based Systems
????? ??????: 
kbmt kbsql2005engine kbhotfixrollup kbfix kbpubtypekc kbqfe kbexpertiseadvanced KB945901 KbMtar
????? ????
???: ??? ????? ??? ?????? ???????? ?????? ????? ???? ????? ?????????? ????? ?? ????????? ?????? ????. ???? ???? ?????????? ???? ?? ???????? ???????? ?????? ????????? ????? ????????? ???????? ????? ???????? ?????? ?? ?????? ??? ?? ???????? ???????? ?? ????? ??????? ?????? ??? ??????? ?????? ??. ?????? ?? ???? ??? ??????? ???????? ????? ?? ???? ????? ?????? ??? ????? ??? ????? ??????? ?? ????? ?? ?????? ??? ??? ??????? ??????? ?? ????? ????? ????? ????? ?????. ?? ????? ???? ?????????? ??????? ??? ????? ?? ??????? ?? ????? ?????? ?? ??? ????? ?? ????? ??????? ?? ???????? ?? ??? ???????. ???? ???? ?????????? ???????? ??? ????? ?????? ??????? ??????
???? ??? ????? ??????? ?????? ??????????945901

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

 

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