Sql server select year month from date July 8, 2019 16 32 64 128 Sql server select year and month from datetime Работа с датами sql