Regex to split a CSV

Description Instead of using a split, I think it would be easier to simply execute a match and process all the found matches. This expression will: divide your sample text on the comma delimits will process empty values will ignore double quoted commas, providing double quotes are not nested trims the delimiting comma from the … Read more

SQL group_concat function in SQL Server [duplicate]

FOR XML PATH trick and article CLR User defined aggregate for sql server prior version 2005 – temporary tables An example of #1 DECLARE @t TABLE (EmpId INT, EmpName VARCHAR(100)) INSERT @t VALUES (1, ‘Mary’),(1, ‘John’),(1, ‘Sam’),(2, ‘Alaina’),(2, ‘Edward’) SELECT distinct EmpId, ( SELECT EmpName+’,’ FROM @t t2 WHERE t2.EmpId = t1.EmpId FOR XML PATH(”) … Read more

Error ASP 0177: 8007007e CreateObject fails for COM DLL

The advice below relates to both Server.CreateObject and CreateObject use in vbscript jscript vba The Web Server sections are specific to asp-classic but still worth reading. What Causes This error? Server.CreateObject Failed is caused most commonly when Web Applications are moved from one Web Server to another without an understanding of external COM components that … Read more