Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 920535
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T18:43:51+00:00 2026-05-15T18:43:51+00:00

I see a LOT of resources about producing feeds from T-SQL2005, about parsing XML

  • 0

I see a LOT of resources about producing feeds from T-SQL2005, about parsing XML into a database schema, processing, bulk operations, etc. What I don’t see is how to have, for example, a statement/s in a stored proc or function which can simply access a URL for an XML feed, load the XML into a table field or sproc variable and close the connection.

I understand it might be necessary to use an external layer, like a C# web app, but it would be great (considering all the other complex functions T-SQL provides) to just read a feed or file directly.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T18:43:52+00:00Added an answer on May 15, 2026 at 6:43 pm

    You can use OPENROWSET if the file is on the same server, example

    CREATE TABLE XmlImportTest
    (
            xml_data xml
    )
    GO
    
    INSERT INTO XmlImportTest(xml_data)
    SELECT  xmlData 
    FROM
    (
        SELECT  * 
        FROM    OPENROWSET (BULK 'c:\TestXml.xml' , SINGLE_BLOB) AS XMLDATA
    ) AS FileImport (XMLDATA)
    

    If you want to import all of them from a folder, take a look at How to import a bunch of XML files from a directory in T-SQL

    If you need to acces it from a URL then SSIS could do it if it is a web service or perhaps even SQLCLR

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I see a lot of JDK 1.6 notes about how to open an HTML
I see a lot of questions, both here on SO and elsewhere, about maintaining
I see a lot in autoconf code about stuff being dnl'ed and not dnl'ed.
I see lot of new machines and laptops now having 64 bit hardware and
I see a lot of people are using code under viewDidLoad to be able
I see a lot of this: 06-19 17:29:11.911: DEBUG/dalvikvm(10028): GC_FOR_MALLOC freed 729K, 54% free
I see a lot of different point of views on internet concerning meta tags
I see a lot of debate going back and forth on which language to
I see a lot of the multi-core information on the web applied to desktop
I see a lot of code similar to the following var customrs = MyDataContext.Customers.Where(...);

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.