home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.databases.ms-sqlserver      Notorious Rube Goldberg contraption      19,505 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 19,311 of 19,505   
   Erland Sommarskog to chris   
   Re: Unable to query xml data in sql serv   
   18 Jun 20 08:29:58   
   
   From: esquel@sommarskog.se   
      
   chris (chris.sjpd@gmail.com) writes:   
   > Could you please be more specific on how to read xml data in multiple   
   > xml files given all of the xml files have the same structure?   
   >   
   > My below query only works for a single xml file, but I need to query the   
   > data from a bunch of files.   
      
   You need to create a table, and read the files into the table, one by one.   
   Then you use the syntax I outlined in my previous post.   
      
   You should probably add an id or the file name, so that you know which file   
   the data is coming from.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca