I agree that as far as it concerns objects it is more elegant and maybe more efficient; but what would you do before Create Index or Add Constraint or add column etc?
I would have used a recursive CTE in order to double the number of permutations for each occurrence of the source string:
Declare @keyword NVARCHAR(1000)=N'wwAMxxAMyyAMzz',
With T1 As
Drop SEQUENCE dbo.Seq1;
CREATE SEQUENCE dbo.Seq1 AS INT START WITH 1 INCREMENT BY 1;
T2_1.sq1+Row_Number() Over(Order By sq1...
NEXT VALUE FOR dbo.Seq1 AS AutoNum,
1000000+NEXT VALUE FOR dbo.Seq1 AS...