Find first and last day of current month in sql server
Answer / Mohd Yameen
To find the first and last day of the current month in SQL Server, you can use EOMONTH function:nn```sqlnSELECT EOMONTH(GETDATE()) + 1 AS LastDayOfMonth,n EOMONTH(GETDATE()) + 1 - DATEPART(DAY, GETDATE()) AS FirstDayOfMonth;n```
| Is This Answer Correct ? | 0 Yes | 0 No |
Define candidate key, alternate key, composite key.
13 Answers Infosys, Software India,
does physical index sort data
as a general practice, it is recommended to have dbo be the owner of all database objects however, in your database you find number of tables owned by a user other than dbo, how could you fix this? : Sql server administration
When I run the sql server 2000 setup, it just hangs. What do I do?
Why does sql studio use a single registered database repository? : sql server management studio
Alternative way to DetDate() function?
What is read uncmmited?
How to use column default values in insert statements in ms sql server?
It is important form e to get the information from log files of applications executed by the task scheduler? Does sql studio save these log files? : sql server management studio
How to use transact-sql statements to access the database engine?
What are the tool windows in sql server management studio? : sql server management studio
What is a scheduled job or what is a scheduled task?
Oracle (3253)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)