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 |
New concepts of sql server 2005 use in your project.
Write the SQL query to drop, truncate and delete table.
0 Answers HPCL, Hughes Systique Corporation, Ittiam Systems,
Explain view in sql server?
How to retrieve data from log files in SQL SERVER ?????
What is #table in sql server?
What are constraints?
Can Somebody tell me the difference between Clustered & Non- Clustered Index??
How to get number of days in a given year?
What is a rownum?
How many types of cursors are there in SQL Server?
5 Answers 247Customer, CarrizalSoft Technologies,
Write a sql query to sort on different column name according to the parameters passed in the function?
What will be the maximum number of indexes per table?
Oracle (3253)
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)