Tuesday, 28 January 2020

SQL Get Multi Values in a Single Column

DECLARE @htmlText AS VARCHAR(MAX) = '<br/>'

SELECT STUFF
(   

(      
SELECT @htmlText + t.UserName
FROM Table t
FOR XML PATH(''), TYPE
)
.value('.[1]','nvarchar(max)'), 1, LEN(@htmlText), '' 
)

No comments:

Setup Windows Local Account without the Internet

During the Windows setup,  On the WiFi screen, press SHIFT + F10  or  FN + SHIFT + F10  This will open the command prompt window with admini...