Sunday, February 1, 2009

Sql Server Read An External Scheme and Create

declare @schema xml
select @schema=c from openrowset(bulk 'c:\data.xsd',single_blob) as temp(c)
create xml schema collection DataSchema as @schema

No comments:

Post a Comment