About 1,870 results
Open links in new tab
  1. For XML Path Returning amp when '&' symbol used in text

    May 29, 2018 · FOR XML PATH (''), TYPE).value('.','varchar(max)') you may find what you're looking for. Add the text() function to prevent the construct of XML for the output, can half the work.

  2. concatenate rows using for xml path and new line feed carriage

    Mar 22, 2013 · The following works, but in GRID mode you won't see it and in TEXT mode they won't line up under the Cities column. Create TABLE #tempCityState (State Varchar(5), City Varchar(50))

  3. Stuff xml path query – SQLServerCentral Forums

    Sep 17, 2020 · Stuff xml path query Forum – Learn more on SQLServerCentral. ... SQL Server 2008 - General; Stuff xml path query; Post reply. 1; 2; Next; Stuff xml path query. mrsiro. Old Hand. Points: 376 ...

  4. STUFF XML PATH + Partition By – SQLServerCentral Forums

    Feb 18, 2023 · Hello, I need to concatenate multiple rows into one based on a condition: DC, UPC, MASTERCHAINNAME. DC01, 9780061491900, TARGET. DC01, 9780061491900, WALMART

  5. How to use STUFF and FOR XML PATH to get a list of column …

    Feb 26, 2019 · The ORDER BY used in filling the temp table has no effect on the column order in the XML result, because the DISTINCT keyword in your subquery (SELECT DISTINCT ColumnName FROM #tmp_columns) is ...

  6. Query runs very slow due to FOR XML PATH usage

    Jul 3, 2012 · Query runs very slow due to FOR XML PATH usage Forum – Learn more on SQLServerCentral

  7. Working with null values in SQL XML – SQLServerCentral

    May 11, 2012 · For help with issues in generating or retrieving values from XML I suggest you look up the documentation in BOL or one of the many excellent articles on FOR XML PATH, .nodes(), .value(), .query ...

  8. Using For XML Path to Concatenate in a Sub-Query

    Feb 17, 2015 · SQL Server 2008; T-SQL (SS2K8) Using For XML Path to Concatenate in a Sub-Query; Post reply. Using For XML Path to Concatenate in a Sub-Query. treyagrimes. Ten Centuries. Points: 1001. More actions .

  9. FOR XML Path – SQLServerCentral Forums

    Mar 23, 2016 · SQL Server 2008; T-SQL (SS2K8) FOR XML Path; Post reply. FOR XML Path. ringovski. Hall of Fame. Points: 3521. More actions . March 23, 2016 at 7:11 pm #309344 . Hi,

  10. HTML using XML PATH – SQLServerCentral Forums

    Mar 29, 2018 · HTML using XML PATH Forum – Learn more on SQLServerCentral. ... SQL Server 2008; T-SQL (SS2K8) HTML using XML PATH; Post reply. HTML using XML PATH. parth83.rawal. SSCommitted. Points: 1858.

Refresh