The following SQL statement creates a SQL table for storing complete XML Order documents, either with or without extracted elements (for hybrid storage).
create table order_docs (id char(10) unique, customer_id varchar(5) null,
-- For an extracted “CustomerId” element order_doc xml.order.OrderXml)