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 operator performs pattern matching?
What is a unique index?
How can you set the threshold at which sql server will generate keysets asynchronously?
Detail about the hardware which is supported by SQL server?
Please give me queries for the following 1. To get the count of duplicate records. 2. A query to delete the duplicate records.
What will be the maximum number of indexes per table?
Difference between drill down and drill through report.
What is an indice?
What is the difference between resultset and resultsetmetadata?
Repair mdf file
Tell me what is the order in which the sql query is executed?
How to write character string constants or literals in ms sql server?