-- TEST DECLARE @Xml XML DECLARE @Filename varchar(100) SET @Filename = 'M-PetiksHour-XXX.xml' SELECT @Xml = CONVERT(XML, BulkColumn) FROM OPENROWSET(BULK 'C:\BizTalk_Files\MW\Maersk\Documentations\JKL-PetiksHour-XXX.xml', SINGLE_BLOB) AS x; -- End of TEST DECLARE @XmlAltered XML ,@XmlAsNVarChar NVarChar(MAX) SET @XmlAsNVarChar = CAST(@Xml AS nvarchar(MAX)) SET @XmlAsNVarChar = REPLACE(@XmlAsNVarChar, 'xmlns=""', SPACE(0)) SET @XmlAltered = CAST(@XmlAsNVarChar AS xml) DECLARE @GUID uniqueidentifier SET @GUID = NEWID() SELECT col.value('data(ShipNumber[1])', 'int') as ShipNumber ,col.value('data(AccountPeriod[1])', 'int') as AccountPeriod ,col.value('data(PersonEmployeeId[1])', 'int') as PersonEmployeeId ,col.value('data(RankCode[1])', 'int') as RankCode ,col.value('data(TotalNonConformityDeviation[1])', 'decimal(20,2)') as TotalNonConformityDevi...
List of all tools and techniques used on my day to day software development.