SQL Server STUFF Function: Insert Substring into String
https://www.tutorialsteacher.com/sqlserver/stuff-function
WEBIn this example, the STUFF() function is used to format a date from MMDDYYYY format to MM/DD/YYYY format. Two STUFF() functions are used to insert /. One between DD and MM and another between MM and YYYY, as shown below. Example: STUFF () SELECT STUFF(STUFF('01022022', 3,0,'/'),6,0,'/') AS Result;
DA: 38 PA: 51 MOZ Rank: 40