Função FORMAT não funciona no SQL Server 2008 R2
DECLARE @d DATETIME = '01/01/2011';
SELECT FORMAT ( @d, 'd', 'en-US' ) AS US_Result;
Eu estou usando o código acima no SQL Server 2008 R2, mas está encontrando um erro:
'FORMATO' não é um nome de função interno reconhecido.
Como posso usarFORMAT
função?