Answers for "get last datetime last date sql"

SQL
2

get last record in sql

SELECT * FROM TableName WHERE id=(SELECT max(id) FROM TableName);
Posted by: Guest on July-29-2021
3

get current month last date in sql server

SELECT EOMONTH('2019-02-15') end_of_month_feb2019;
Posted by: Guest on August-19-2020

Code answers related to "SQL"

Browse Popular Code Answers by Language