how to count datewise data in sqlserver
Answer Posted / vidit tyagi
select BillDate, count(*) from AdminSalesDetailsItems group
by convert(BillDate,varchar,101)
Is This Answer Correct ? | 4 Yes | 4 No |
Post New Answer View All Answers
What is the definition for sql server 2000?
What is a natural primary key?
You are designing a strategy for synchronizing an SQL Azure database and multiple remote Microsoft SQL Server 2008 databases. The SQL Azure database contains many tables that have circular foreign key relationships?
How to execute function in stored procedure sql server?
What are cursors and when they are useful?
What is user-defined inline table-valued function?
What is an active database?
Explain different types of index?
Difference between Inner vs outer joins?
How do I find the sql server database version?
Which tools are available to manage SQL Azure databases and servers?
1. Tell me your daily activities 2. If sql server installation fails at time installation what will do 3. Where does the sql server installation log details are stored 4. After the installation what will you do for memory configuration 5. What is the difference between SQL max maximum memory and AWE memory 6. How will you configure AWE memory 7. How will setup an email alert for the backup job 8. After the SQL installation what are the jobs will you configure 9. What does –g mean in the sql startup parameter 10. What is the difference between Bulked log and Full recovery model 11. What is the difference between mirroring and log shipping 12. What are the steps to be followed before in-place up gradation 13. After installing the patch the sql server does not start and application team tells to rollback the changes .In this scenario what will you do
Why should we go for stored procedures? Why not direct queries?
Please explain the characteristics of a transaction server for example atomicity, consistency, isolation, durability?
How to integrate the ssrs reports in application?