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 the security model used in sql server 2005?
Is INSTEAD OF trigger directly applicable to Table ?
What are SQL Jobs, please mention the use of it and how to create them.
how to find the second salary?
How can we rewrite sub-queries into simple select statements or with joins?
What is the purpose of update statistics and scope_identity() function?
Which joins are sql server default?
Explain what is the main purpose of having conversation group?
How to create an index on an existing table in ms sql server?
What is an index. What are the types?
how do we find every fifth record in a table
What is the SQL?????????????????????????????