Re: SQL Server to .xsd

From: Val Mazur (group51a_at_hotmail.com)
Date: 10/14/04


Date: Wed, 13 Oct 2004 21:47:07 -0400

Hi Dave,

I do not know any such built-in capabilities. I think you would need to code
it using your own code.

-- 
Val Mazur
Microsoft MVP
"Dave" <DaveSmith3141@hotmail.com> wrote in message 
news:CE3B84E5-E5B8-4F99-84D4-752BFF2B6E3F@microsoft.com...
> Interesting, but not exactly what I was looking for. I would like to 
> somehow
> output an XSD from an entire database schema, or accomplish something to 
> the
> means of synchronizing database changes to the internal schema of the
> application so I don't have to do double duty. It would nice to have 
> "system"
> dataset that represents the entire database but changes to the physical 
> SQL
> db would change the dataset's schema. That's why I thought if there is 
> some
> way to output an XML .xsd from SQL, I could just overwrite the old xsd
> without going in making manual changes. May be a pipe-dream although I 
> don't
> think it would be a difficult thing to do if I had the right tools.
>
> Thanks very much for your response.
>
> -Dave
>
> "Val Mazur" wrote:
>
>> Hi,
>>
>> Do you need to get schema of specific table in a SQL Server? If yes, then
>> check next example
>>
>> http://support.microsoft.com/default.aspx?scid=kb;en-us;309488
>>
>> -- 
>> Val Mazur
>> Microsoft MVP
>>
>>
>> "Dave" <DaveSmith3141@hotmail.com> wrote in message
>> news:40EF9DFF-FCEC-4C07-A1EB-B430915FE079@microsoft.com...
>> > I'm working on my first major project with .net and getting run over 
>> > with
>> > maintaining two schema's one within SQL Server and then the schema 
>> > within
>> > the
>> > application. I worked with the XML schema briefly but was frustrated in
>> > not
>> > knowing how to make changes to it. Is there a way to produce the .xsd 
>> > file
>> > from SQL Server and just overwrite the one that the applcation would 
>> > read
>> > in?
>> > This would change my life if there was a way to easily marry the two
>> > together. Any good resources or advice would be greatly appreciated. I 
>> > am
>> > using SQL Server 2000 which I know has tools to support XML
>> >
>> > Thanks in advance!
>> > -- 
>> > -Dave
>>
>>
>> 


Relevant Pages

  • Re: Exporting SQL Server data to XML
    ... for example, load the schema, right click the root element and create an ... Joe Fawcett ... I have been given a SQL Server database and an XSD file. ...
    (microsoft.public.sqlserver.xml)
  • Re: SQL Server to .xsd
    ... output an XSD from an entire database schema, ... > Do you need to get schema of specific table in a SQL Server? ...
    (microsoft.public.data.ado)
  • Re: Exporting SQL Server data to XML
    ... I don't think there's a built in way to create XML that conforms to a known schema. ... There are tools that can show you what the instance document should look like if you don't understand XML Schema documents. ... I have been given a SQL Server database and an XSD file. ...
    (microsoft.public.sqlserver.xml)
  • Re: multiple cascade paths
    ... You should not have them if your schema is designed properly. ... make you understand that I tried to show that a proper design can have ... am a SQL Server MVP, for crying out loud - you can safely assume that I ...
    (comp.databases.ms-sqlserver)
  • Re: Need help on how to organize users and objects
    ... Yes Oracle is a bit different than Sql Server, but I think you will get the ... It doesnt become part of any schema until you assign it. ... a new developer started to work. ... need the COMMON database which stores tables with generic data and generic ...
    (microsoft.public.sqlserver.security)