Answers for "check date compare in sql"

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 "SQL"

Browse Popular Code Answers by Language