Share via

Parsing XLM with SQL Server

SQL ServerQuery 21 Reputation points
2022-09-07T15:01:24.067+00:00

Thanks in advance for the assistance.

There is some data on a website that I would like to import into a SQL Server database to query:

https://www.thetakeoverpanel.org.uk/disclosure/disclosure-table

The data is also presented in an XML file:

https://www.thetakeoverpanel.org.uk/new/disclosureTable/v3/disclosuretable.xml
https://www.thetakeoverpanel.org.uk/new/disclosureTable/v3/disclosuretable.xsd

I'm having difficulties parsing the data. I think I'd like three tables variables (or temp tables) (Additions, Deletions and MainTable).

Can anyone help?

Thanks,
SQLServerQuery

Developer technologies | Transact-SQL
Developer technologies | Transact-SQL

A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.


1 answer

Sort by: Most helpful
  1. Olaf Helper 47,621 Reputation points
    2022-09-08T06:49:40.017+00:00

    I'm having difficulties parsing the data.

    How does your current XQuery on XML data look like and on which detail do you have issues?

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.