Discover how XQuery works in SQL Server 2005: the FLWOR statement, operators in XQuery, the if-then-else construct, XML constructors, built-in XQuery functions, type casting operators, and more.
Introduction to XQuery in SQL Server 2005
                                    
                                    
                                    
                                
                            Introduction to XQuery in SQL Server 2005