In my `select` I have multiple dates in one rows, divided by comma.

Main select:

```
SELECT DISTINCT p.IDVazniZaznam,
stuff(
(
    SELECT ','+ CONVERT(VARCHAR,DatumCasZacatku, 22) FROM HVZHlavicka_Prestavka WHERE IDVazniZaznam = p.IDVazniZaznam FOR XML PATH('')
),1,1,'') As DatumCasZacatku,

stuff(
(
    SELECT ','+ CONVERT(VARCHAR,DatumCasUkonceni, 22) FROM HVZHlavicka_Prestavka WHERE IDVazniZaznam = p.IDVazniZaznam FOR XML PATH('')
),1,1,'') AS DatumCasUkonceni
FROM (SELECT DISTINCT IDVazniZaznam, DatumCasUkonceni, DatumCasZacatku FROM HVZHlavicka_Prestavka ) p

```

Like this:

```
12/04/19  7:45:00 AM,12/04/19  8:00:02 AM

```

What I need to do is something like that:

```
 1: 12/04/19  7:45:00 AM, 2: 12/04/19  8:00:02 AM

```

Im not sure if its called prefix, but I think it is. I do not want to put it manually, but I wanna generate it automatically. First date will be number 1, second date number 2 etc.
Its that even possible in `SQL`?