Write a SQL Query to find first Week Day of month?
Answers were Sorted based on User's Feedback
Answer / saravakumar
SELECT DATENAME(dw, DATEADD(dd, - DATEPART(dd, GETDATE()) +
1, GETDATE())) AS FirstDay
| Is This Answer Correct ? | 31 Yes | 2 No |
Answer / vijay
SELECT DATENAME(dw, DATEADD(dd, – DATEPART(dd, GETDATE()) + 1, GETDATE())) AS FirstDay
| Is This Answer Correct ? | 1 Yes | 1 No |
How to create nested stored procedure?
How can sql injection be stopped? : sql server security
If no size is defined while creating the database, what size will the database have?
What are the differences between user defined functions and stored procedures?
What is page in sql server?
Can you explain the role of each service?
What is the use of Port no?
What is a benefit of using an after insert trigger over using a before insert trigger?
What is data compression?
What is the difference between row_number and dense_rank?
Explain what is use of dbcc commands?
What is the order in which the sql query is executed?
Oracle (3259)
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)