Re: Store XML in database - newbie question

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Michael Rys [MSFT] (mrys_at_online.microsoft.com)
Date: 09/19/04

  • Next message: Stefan Krueger [MVP]: "Re: GAC and installer component versioning"
    Date: Sun, 19 Sep 2004 00:43:14 -0700
    
    

    In SQL Server 2000, you can:

    1. shred it into relations easily either using a mapping schema or OpenXML.
    Works best for structured data.
    2. Store it as IMAGE or NTEXT (preserves the original form). Need to check
    for XML well-formedness on midtier before.

    In SQL Server 2005, you can use an XML datatype.

    Best regards
    Michael

    "BobM" <BobM@discussions.microsoft.com> wrote in message
    news:BC7D0533-4214-44D7-A401-97B7B696D25C@microsoft.com...
    > If you are using Oracle you can define a column as an XMLType this will
    > allow
    > you store and retrieve the XML as a column. In order to utilise this it is
    > necessary to download an addition ODP toolkit from Oracle to access it in
    > .Net. There is also the possibilty of storing the XML as part of the
    > relational database within Oracle although I haven't used that option yet.
    >
    > "JezB" wrote:
    >
    >> I'm not sure which group to post this in, so forgive me if I post to a
    >> few,
    >> hoping that someone can point me in the right direction.
    >>
    >> In a .NET project (probably ASP.NET but could also be rich client), I
    >> want
    >> to save some XML data to a database (sql-server but could also be
    >> Oracle).
    >> How can I do this ? I certainly cant see XmlDocument as a type available
    >> for
    >> columns in a database table, but perhaps it could be converted to/from a
    >> Binary or Text column ?
    >>
    >>
    >>


  • Next message: Stefan Krueger [MVP]: "Re: GAC and installer component versioning"

    Relevant Pages

    • Re: Store XML in database - newbie question
      ... Store it as IMAGE or NTEXT. ... In SQL Server 2005, you can use an XML datatype. ... > If you are using Oracle you can define a column as an XMLType this will ...
      (microsoft.public.dotnet.framework.aspnet)
    • Re: Store XML in database - newbie question
      ... Store it as IMAGE or NTEXT. ... In SQL Server 2005, you can use an XML datatype. ... > If you are using Oracle you can define a column as an XMLType this will ...
      (microsoft.public.sqlserver.xml)
    • Re: Store XML in database - newbie question
      ... Store it as IMAGE or NTEXT. ... In SQL Server 2005, you can use an XML datatype. ... > If you are using Oracle you can define a column as an XMLType this will ...
      (microsoft.public.dotnet.languages.csharp)
    • Re: Gerating a xml file from oracle 9i in a asp program
      ... With SQL Server you could use the FOR XML clause to get the data out in XML ... If you need help for the same, with Oracle, then please post this to ... generate xml file from a intranet asp site ... ...
      (microsoft.public.sqlserver.xml)
    • saving tables in MSDE
      ... sources (SQL Server or Oracle or Access etc), ... necessary joins and store the result in an MSDE database ...
      (microsoft.public.sqlserver.programming)