SQL Server - Retrieving the definition of an XML Schema Collection



Retrieving the definition of an XML Schema Collection from SQL Server

-- Create an XML Schema Collection
CREATE XML SCHEMA COLLECTION dbo.OrderInfo AS '

  
    
      
        
      
    
  
'
GO

-- Retrieve the definition of XML Schema Collection
-- from SQL Server
SELECT xml_schema_namespace('dbo','OrderInfo')

/*
output:

  
    
      
        
          
            
          
        
      
    
  

*/

Share |

 Cant find the page you are looking for?
 Help us to improve by adding the content that you are looking for.
 Leave a feedback
 We look forward to hear your comments and feedback.