Viewing 15 posts - 1 through 15 (of 17 total)
USE TEEST;
GO
SET NOCOUNT...
January 10, 2019 at 3:07 am
January 9, 2019 at 2:17 pm
Below is the XML that I'm using. I'm having 2 problems:
Problem 1- I can't figure out how to query the data witht the namespace in the document even with the use...
January 8, 2019 at 6:27 pm
Ok, thanks for the reply. I realize it's not the way it should be which is why I am asking for help here. I haven't been able to figure out...
December 26, 2018 at 5:26 pm
Hi. Below is the query I'm using but still getting no results 🙁
SELECT
HDR.DATA.value('(ParentAAIAID/text())[1]','VARCHAR(100)')as ParentAAIAID
,HDR.DATA.value('(BrandOwnerAAIAID/text())[1]','VARCHAR(100)')as BrandOwnerAAIAID
,APP.DATA.value('(BaseItemID/@id)[1]' ,'varchar(50)' ) AS BaseItemID
,APP.DATA.value('(PartNumber/@id)[1]' ,'varchar(50)' ) AS PartNumber
from...
December 26, 2018 at 12:09 pm
Thank you for the reply. Yes I accidentally copied just the first few rows which is why the ending tags are gone. I followed your advice on adding wildcards, but...
December 26, 2018 at 10:13 am
Hello Again. I'm having a similar problem with a differnt xml file where I again need to import Header and Child info and I'm not getting any records returned. If you can...
December 25, 2018 at 5:35 pm
Thank you again! FYI, that didnt work, but I modified it to include a 2nd cross apply join which looks OK (the results and record count are accurate). I'm hoping this will...
December 20, 2018 at 3:27 am
Yes, you are correct. It works now. My LAST issue with this file is that I need to include and repeat the Header information for each record. Below is the...
December 19, 2018 at 3:50 pm
Hello again. I'm having trouble linking the header info to the detail. I need to import some of the Header attributes as well. XML and Query are below:
<ACES...
December 19, 2018 at 9:09 am
Thank you so much. This works perfectly!
December 17, 2018 at 4:51 pm
Sorry, one more small question. Some of the xml files I'll be importing are quite large and storing all the xml in a variable takes several minutes and consumes lots of resources. ...
December 17, 2018 at 3:55 am
This works! Thank you very much!
December 17, 2018 at 3:29 am
If someone could please post a query on how I can retrieve all the attributes and elements in the XML file, it would be much appreciated. I took a stab...
December 16, 2018 at 2:11 pm
Viewing 15 posts - 1 through 15 (of 17 total)