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 |
What is difference between restoration and recovery in SQLServer?
Explain the difference between delete,drop and truncate in SQL Server?
How can we solve concurrency problems?
Explain the dirty pages?
What are the pros and cons of creating extended stored procedures?
What is sub query and its properties?
Explain the concept of recursive stored procedure.
Define a cross join?
Do you know the isolation level that sql server support?
What are the difference between data length and length in SQL Server-2008?
Why do we use functions?
What is order of B+tree?
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)