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...

select count(1) from emp? what is the o/p?

Answer Posted / ankur saini er.ankur861@gmail.

count(1) means it will count based on the first columnin
the table ..say first column is a_id and data ia

a_id a_nm
1 a
2 b
3 c
4 d
? e

so here count(1) will be =4 where as count(*) =5
so count(1) give the count for column 1 excluding nulls

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the scenario which compels informatica server to reject files?

1077


One of the optimizing technique to improve the session performance is push down optimization,by using push down optimization we push as much as transformation logic to source/target database,but this degrades the d/b performance,how to overcome this?

2268


What are active transformations.

1659


Differentiate between router and filter transformation?

1019


Global and Local shortcuts. Advantages.

2040


What is session task and command task?

1307


How many transformations can be used in mapplets.

1943


Do you find any difficulty while working with flat files as source and target?

1106


What is lookup change?

1057


What is option by which we can run all the sessions in a batch simultaneously?

1152


What are the popular informatica products?

1017


Can you use flat files in Mapplets.

2659


How to differentiate between the active and passive transformations?

1175


What are the prerequisite tasks to achieve the session partition?

1263


Have you worked with/created Parameter file

1668