Getting Rows values into Column where Column values start with Integer in SQL Server : Below is my SQL Server table structure with sample data.

    DateValue            Status     EmpId
    2018-05-28 8:00        01       2000347
    2018-05-28 20:18       02       2000347
    2018-05-28 8:00        01       2000348
    2018-05-28 17:18       02       2000348

I want output like

    sEmpId	Status (1)INTime	     Status(2)OutTime
    2000347	2018-05-28 08:00:00.000	2018-05-28 20:18:00.000
    2000348	2018-05-28 08:00:00.000	2018-05-28 17:18:00.000
You can find my try here - [**Row To Column**][1]

I am getting the following error

> Error(s), warning(s):
Incorrect syntax near '01'.


  [1]: https://rextester.com/JFP40613