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 |
Explain some stored procedure creating best practices or guidelines?
Explain trigger and trigger types?
Help!!!!!!!!!!!! My database has gone offline, it is highlighted as 'Suspect'. Foolishly, i haven't got a recent back up. Is there a way of quickly restoring the database? Thank you
What are the difference between data length and length in SQL Server-2008?
Are null values the same as that of zero or a blank space?
When would you use an insert into .. Select option versus an insert into .. Values option? Give an example of each?
Explain DBCC?
CREATE a table from another table
Creating Tables Using SELECT
How to convert binary strings into integers in ms sql server?
what are the main differences between ms access and sqlserver
After creating the cube, if we added a new column to the oltp table then how you add this new attribute to the cube? : sql server analysis services, ssas