how to count datewise data in sqlserver
Answer Posted / ambi
select BillDate, count(*) [Total] from
AdminSalesDetailsItems group
by convert(varchar(50),BillDate,101)
select BillDate, count(*) [Total] from
AdminSalesDetailsItems group
by convert(varcharBillDate,101)
| Is This Answer Correct ? | 5 Yes | 2 No |
Post New Answer View All Answers
How do I find the port number for sql server?
What is the temp table?
Mention the differences between sql server and mysql.
How much memory that we are using in Logshipping Concept?
What authentication modes does sql server support?
explain different types of backups avaialabe in sql server? Given a particular scenario, how would you go about choosing a backup plan? : Sql server database administration
How to include text values in sql statements?
What is bcp? When does it used?
What is relationship? What number of sorts of relationship are there?
Which are the new data types introduced in sql server 2008?
Why use triggers?
Explain the concept of recursive stored procedure.
What is the difference between index seek vs. Index scan?
explain what is a schema in sql server 2005? Explain how to create a new schema in a database? : Sql server database administration
What are logical database components? : SQL Server Architecture