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 are wait types?

0 Answers  


Describe about first three Normal forms.

1 Answers   HP,


Can we use where and having clause together?

0 Answers  


How to make a remote connection in a database?

0 Answers  


What are different types of join?

0 Answers  


Where to find ntwdblib.dll version 2000.80.194.0?

0 Answers  


Can you explain various data region available in ssrs with their use?

0 Answers  


What are the kinds of subquery?

0 Answers  


As a general practice, it is recommended to have dbo be the owner of all database objects however, in your database you find number of tables owned by a user other than dbo, how could you fix this?

0 Answers  


What is the Query of getting last 10 transaction Reports (like insert, update, Delete Data from Tabele) ?

4 Answers   Wipro,


How to change the system date and time from SQL Plus Terminal ?

0 Answers   MCN Solutions,


what’s the difference between Covering Indexes and Clustered Indexes ? how to use clustered index small ?

0 Answers  


Categories