FORMAT function in SQL Server

Publicado em: 01 Janeiro 1970
no canal de: Sql Is Easy
53
2

FORMAT(value, format [, culture])


value: The value (date, numeric, etc.) you want to format.

format: A .NET format string that defines the output format.


culture (optional): A culture or locale identifier (like 'en-US' or 'fr-FR')
to apply culture-specific formatting.

select getdate() , FORMAT(getdate(),'MM/dd/yyyy'),FORMAT(getdate(),'MMMM'),
FORMAT(getdate(),'dd/MM/yyyy'),FORMAT(getdate(),'MM-yyyy')

select FORMAT (100000,'C','en-US')


Nesta página do site você pode assistir ao vídeo on-line FORMAT function in SQL Server duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Sql Is Easy 01 Janeiro 1970, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 53 vezes e gostou 2 espectadores. Boa visualização!