I was playing with SQL Server at Hackerrank and I tried to print some spaces and something else after it.
I tried using the code:
PRINT space(5) + replicate('a',3)
but I didn't get the five spaces, just the three a's.
I also tried using REPLICATE(' ',5), but it also didn't work.
Can anybody please tell me if there is a problem with my SQL code or if it's just a hackerrank problem?