SQL Server - Altering an XML Schema Collection



Altering an XML Schema Collection

-- The first example creates an XML Schema Collection
-- The next example alters the XML Schema Collection

-- Create
CREATE XML SCHEMA COLLECTION OrderInfo AS '

  
    
      
        
      
    
  
'

/*
Validates:
123
*/

-- Alter
ALTER XML SCHEMA COLLECTION OrderInfo ADD '

  
    
      
        
      
    
  
'

/*
Validates 
123

And

	Cash

*/

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.