Answers for "select only date and compare in sql server using convert"

SQL
0

SQL server datetime compare

Pressupondo uma tabela utilizador u.

year(u.DataInicio) --> Retorna o ano
month() --> Retorna o mês
day() --> dia

Exemplo:
u.Ativo = 1 AND year(u.DataInicio)<= 2018
Posted by: Guest on October-20-2020

Code answers related to "select only date and compare in sql server using convert"

Code answers related to "SQL"

Browse Popular Code Answers by Language