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 defragment indexes with alter index ... Reorganize?
What is an index in sql?
How to resolve the orphan use problem? : sql server security
What is an indexed view?
What are the different methods available under sqlcommand class to access the data?
Explain what are the different index configurations a table can have?
Explain the different types of joins?
Differentiate between mongodb vs. Sql server?
What is a mutating table error and how can you get around it?
what is trigger
1 Answers CarrizalSoft Technologies, NIIT,
write the query for find the top 2 highest salary in sql server
36 Answers Cranes, Jayanti Software, Medi Assist, Rmax, TCS,
What is the difference between Drop and Truncate