FIX: ????? ??? ????? ??? ????? ??????? "???????? ??????" ???? ?????? ???? "??? ?????" ?? SQL Server 2008 R2 ?? ?? SQL Server 2012

?????? ????????? ?????? ?????????
???? ???????: 2800797 - ??? ???????? ???? ????? ????? ??? ???????.
???? Microsoft ?????? ??????? Microsoft SQL Server 2008 R2 ?????? Pack 2 (SP2) ???? ???? ???????. ??? ????????? ????????? ?? ????? ???? ????? ??? ???? ????????? ??????? ?????? ????? ???? ??????? ?????? ???? ?? ??????? ?? ??????? SQL Server 2008 R2 Service Pack 2.
????? ???? | ?? ????

?? ??? ??????

???????

?? ????? ????? ??? ????? ??? ????? ??????? ?? Microsoft SQL Server 2008 R2 ???? ?????? SP2 ?? ?? Microsoft SQL Server ??? 2012 ????? ???? ?????? ??????? ??????:
  • ?????? ????????? ??? ??? ????? ???? ????? ???? ???????? ?????? .
  • ???? ?????? ?????? ?????? ??????? ???? ????? ?? ??? ???????? ??? ?????? ?? ???? JOIN ????? .
  • ?????? ???? ??? ???? ??????? ?????? ??????? ?????.
??? ???? ??????? ????? ????? ??????? ?????? ??? ???:
SELECT * FROM tablename 
CROSS APPLY (
    SELECT * FROM
        (SELECT * FROM [dbo].[func_GetTableFromXml](xmlColumn) WHERE nodeParentName = 'New') s1 
    FULL JOIN 
        (SELECT * FROM [dbo].[func_GetTableFromXml](xmlColumn) WHERE nodeParentName = 'Old') s2 
    ON s1.nodeName = s2.nodeName
    ) s 
?????? ?? ???? ??? ??????? ?? Microsoft SQL Server ??? 2012.

????

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

??????? ???????? 7 ? SQL Server 2012

??? ????? ??????? ????? ???? ??????? ???? ??? ?? 7 ??????? ????????. ????? ?? ????????? ??? ????? ?????? ??? ???? ??????? ???????? ??? ? SQL Server 2012? ???? ??? ??? ??????? ?????? ???? ??????? ?? ????? ????? Microsoft:
2823247 ???? ??????? ???????? 7 ? SQL Server 2012
?????? ??? ??????? ???????? ????? ?? ????? ????? ???? ??? ???? ????????? ??????? ?????? ????? ???? ??????? ?????? ???? ?? ??????? ?? ??????? SQL Server 2012. ???? ???? ???????? ????? ???? ????? ??????? ???? ????? ??? ??? ??????? ??????. ?????? ??? ???? ?? ?????????? ???? ??? ??? ??????? ?????? ???? ??????? ?? ????? ????? Microsoft:
2692828 ???? 2012 ???? SQL ???? ?? ??????? ??? ????? SQL Server 2012

??????? ???????? 3 ? SQL Server 2012 SP1

???? ???? ??????? ????? ???? ??????? ????? ?? ??????? ???????? 3. ????? ?? ????????? ??? ????? ?????? ??? ???? ??????? ???????? ??? ? SQL Server 2012 ???? ?????? SP1? ???? ??? ??? ??????? ?????? ???? ??????? ?? ????? ????? Microsoft:
2812412 ???? ??????? ???????? 3 ? SQL Server 2012 Service Pack 1
?????? ??? ??????? ???????? ????? ?? ????? ????? ???? ??? ???? ????????? ??????? ?????? ????? ???? ??????? ?????? ???? ?? ??????? ?? ??????? SQL Server 2012 SP1. ???? ???? ???????? ????? ???? ????? ??????? ???? ????? ??? ??? ??????? ??????. ?????? ??? ???? ?? ?????????? ???? ??? ??? ??????? ?????? ???? ??????? ?? ????? ????? Microsoft:
2772858 ???? 2012 ???? SQL ???? ?? ??????? ??? ????? SQL Server 2012 ???? ???? 1

??????? ???????? 5 ? SQL Server 2008 R2 ???? ?????? SP2

???? ???? ??????? ????? ???? ??????? ????? ?? 5 ??????? ????????. ????? ?? ????????? ??? ????? ?????? ??? ???? ??????? ???????? ??? ? SQL Server 2008 R2 SP 2? ???? ??? ??? ??????? ?????? ???? ??????? ?? ????? ????? Microsoft:
2797460 ???? ??????? ???????? 5 ? SQL Server 2008 R2 Service Pack 2
?????? ??? ??????? ???????? ????? ?? ????? ????? ???? ??? ???? ????????? ??????? ?????? ????? ???? ??????? ?????? ???? ?? ??????? ?? ?????? SQL Server 2008 R2 2 ???? ?????. ???? ???? ???????? ????? ???? ????? ??????? ???? ????? ??? ??? ??????? ??????. ?????? ??? ???? ?? ?????????? ???? ??? ??? ??????? ?????? ???? ??????? ?? ????? ????? Microsoft:
2730301 ???? R2 2008 ???? SQL ???? ?? ??????? ??? ????? SQL Server 2008 R2 ?????? Pack 2

?????

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

???? ??????

?????? ??? ??? ???????? ?????? ???? JOIN ??? ???? ????? ?? ??? ???????? ?????? .

??? ???? ??????? ????? ????? ????????? ???? ??? ???????? ?? ??? "???????" ??? ????????? ?????? ??? ???:
SELECT * FROM tablename 
CROSS APPLY (
    SELECT * FROM
        (SELECT * FROM [dbo].[func_GetTableFromXml](xmlColumn) WHERE nodeParentName = 'New') s1 
    FULL MERGE JOIN 
        (SELECT * FROM [dbo].[func_GetTableFromXml](xmlColumn) WHERE nodeParentName = 'Old') s2 
    ON s1.nodeName = s2.nodeName
    ) s

??????? ????

????? ?? ????????? ??? ????? ??????? ???? ??? ????? ? ????? ??? ???? ??? Microsoft TechNet ???????:
??????? ???? ??? ????? ??????? ???? "??? ?????"

???????

???? ???????: 2800797 - ????? ??? ??????: 05/????? ???????/1434 - ??????: 3.0
????? ???
  • Microsoft SQL Server 2008 R2 Service Pack 2
  • Microsoft SQL Server 2008 R2 Datacenter
  • Microsoft SQL Server 2008 R2 Enterprise
  • Microsoft SQL Server 2008 R2 Developer
  • Microsoft SQL Server 2008 R2 Standard
  • Microsoft SQL Server 2008 R2 Web
  • Microsoft SQL Server 2008 R2 Workgroup
  • Microsoft SQL Server 2008 R2 Express
  • Microsoft SQL Server 2012 Developer
  • Microsoft SQL Server 2012 Enterprise
  • Microsoft SQL Server 2012 Express
  • Microsoft SQL Server 2012 Standard
  • Microsoft SQL Server 2012 Web
  • SQL Server 2012 Enterprise Core
????? ??????: 
kbqfe kbfix kbsurveynew kbexpertiseadvanced kbmt KB2800797 KbMtar
????? ????
???: ??? ????? ??? ?????? ???????? ?????? ????? ???? ????? ?????????? ????? ?? ????????? ?????? ????. ???? ???? ?????????? ???? ?? ???????? ???????? ?????? ????????? ????? ????????? ???????? ????? ???????? ?????? ?? ?????? ??? ?? ???????? ???????? ?? ????? ??????? ?????? ??? ??????? ?????? ??. ?????? ?? ???? ??? ??????? ???????? ????? ?? ???? ????? ?????? ??? ????? ??? ????? ??????? ?? ????? ?? ?????? ??? ??? ??????? ??????? ?? ????? ????? ????? ????? ?????. ?? ????? ???? ?????????? ??????? ??? ????? ?? ??????? ?? ????? ?????? ?? ??? ????? ?? ????? ??????? ?? ???????? ?? ??? ???????. ???? ???? ?????????? ???????? ??? ????? ?????? ??????? ??????
???? ??? ????? ??????? ?????? ??????????2800797

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

 

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