Quantcast
Channel: How can I do to insert rownumber in this situation (xml)
Browsing latest articles
Browse All 4 View Live

How can I do to insert rownumber in this situation (xml)

tks

View Article



How can I do to insert rownumber in this situation (xml)

Rather than using a IDENTITY column, you can add a row_number column to your query:row_number() OVER( ORDER BY NFE.DATA, PAG.DATA)

View Article

How can I do to insert rownumber in this situation (xml)

Hi haichu1,In reality you don't need line # coming from the XML.Please follow the following steps:Add an IDENTITY column to your target table. Its responsibility to  provide you unique "line #" on the...

View Article

How can I do to insert rownumber in this situation (xml)

;WITH XMLNAMESPACES(DEFAULT 'http://www.abc/nfe')SELECTPAG.DATA.value('(tPag/text())[1]'        ,'CHAR(2)'    ) AS LINHA2,PAG.DATA.value('(tPag/text())[1]'        ,'CHAR(2)'    ) AS...

View Article
Browsing latest articles
Browse All 4 View Live




Latest Images