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
What are different backups available in sql server?
Difference between report and query parameter.
What is store procedure? When do you use?
What is a virtual table in sql?
What program is used to store the data source file?
Explain user defined views?
Why use “pivot” in sql server?
What is field with example?
How can you insert values in multiple rows using one Insert statement?
How to copy data from one table to another table?
Explain the characteristics of a transaction server for example atomicity, consistency, isolation, durability?
How to write character string constants or literals in ms sql server?
Which are the third-party tools used in sql server and why would you use them?
Do I need a report server to run reports in my application?
What is extended stored procedures?