SQL Server Memecah kolom string menjadi beberapa baris, saat mengulang kolom ID


INSERT INTO TempSubProduct (ID, SubName)
SELECT ProductID, SPL.value
FROM Production.Product  AS PP
CROSS APPLY STRING_SPLIT(PP.Name,' ') AS SPL;
Curious Cat