XML data loading in SQL

  • I am encountering error message as

    Schema:missing element definition

    while running the schema mapping file.

    Please advise.

    The contents of the mapping file are:

    Error Message: Error: Schema: missing element definition 'app1'

  • We can't see the contents of your file. Attach it to your thread as a text file please.

    Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/[/url]On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.

  • The xml file and the schema (xsd) are not the same. There is additional or missing data in the xml file; or else the rows in the xsd are not in the same order as in the xml file

  • Hi All,

    I have received XML Schema files for 3 Different Event Logs.

    Now I need to define the DB/TRable in my SQLEXPRESS 2008.

    The I need to pull the Log files from a FTP location and read them in to the DB/Table.

    How can I do this ? Is there is any user guide for this ?

    Regards

    Sunil

  • Sunil,

    In the future, please start a new topic with your question rather than piggy-backing off another thread.

    SSIS is the best way to load an XML file into SQL server in my opinion. Use a Data Flow task with an XML source. The source can define your .xsd file for you automatically. Then run the package every time you have a file. You can do this manually or via a SQL job.

    Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/[/url]On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.

Viewing 5 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic. Login to reply