Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


how to count datewise data in sqlserver

Answers were Sorted based on User's Feedback



how to count datewise data in sqlserver..

Answer / mythili

select BillDate, count(*) from AdminSalesDetailsItems group by BillDate

Is This Answer Correct ?    11 Yes 6 No

how to count datewise data in sqlserver..

Answer / amit bhardwaj

SELECT COUNT(colmnName) FROM Tablename GROUP BY Columnname

Is This Answer Correct ?    9 Yes 6 No

how to count datewise data in sqlserver..

Answer / 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

how to count datewise data in sqlserver..

Answer / vidit tyagi

select BillDate, count(*) from AdminSalesDetailsItems group
by convert(BillDate,varchar,101)

Is This Answer Correct ?    4 Yes 4 No

Post New Answer

More SQL Server Interview Questions

What is multi-statement table-value user-defined function?

0 Answers  


Can I save my report as html, excel or word? : sql server management studio

0 Answers  


Tell me about the approaches which you used to counter the DI problems.

0 Answers   EXL,


List the data types available in mssql?

0 Answers  


Can we return Data from 4(more than 1) tables in stored procedure?

0 Answers   HCL,


what is sql server? : Sql server database administration

0 Answers  


What is importing utility?

0 Answers  


Department ----------- salary Deptname 1000 A 3000 A 2000 B 3000 B 4000 C 5000 C select the deptname where salary >=5000 result should be: Deptname --------- C please post only executed query in SQL server 2005 Asked By: Md. Niyaz

3 Answers  


Name three of the features managed by the surface area configuration tool? : sql server security

0 Answers  


How to create an index on a view?

0 Answers  


What are the characteristics of modern DBMS?

0 Answers   Ericsson,


Explain having clause and where clause?

0 Answers  


Categories