Re: How do you read an XML schema in SQL 2005
- From: "Mike C#" <xyz@xxxxxxx>
- Date: Mon, 28 Jan 2008 19:41:16 -0500
You would need to create an XML schema collection. Check out CREATE XML
SCHEMA COLLECTION in BOL. Once you've created an XML schema collection you
can create typed XML instances like this:
DECLARE @x XML (schema_collection_name);
"Dee" <Dee@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:CE404920-A3B1-4114-A576-CFD107AF4B35@xxxxxxxxxxxxxxxx
I have some data that came to me in XSD. How can this be read into an SQL
2005 database? I also have a few XML Schemas and need to know how this
can
be ready into an SQL 2005 database?
Thanks for any help
Dee
.
- Follow-Ups:
- Re: How do you read an XML schema in SQL 2005
- From: Joe Fawcett
- Re: How do you read an XML schema in SQL 2005
- Prev by Date: Re: XQuery SQL 2005 Insert block of xml into existing xml type
- Next by Date: Re: How do you read an XML schema in SQL 2005
- Previous by thread: Multiple delete in xml column
- Next by thread: Re: How do you read an XML schema in SQL 2005
- Index(es):
Relevant Pages
|
Loading