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 aggregator transformation in informatica?

545


What is the use of source qualifier?

675


Informatica settings are available in which file?

592


Briefly explain the aggregator transformation?

604


What are the restrictions of union transformation?

581






What are active transformations.

1190


How you can differentiate between connected lookup and unconnected lookup?

617


How do you use reject loader.

2073


can you please explain me pre session and post session options?

6387


Explian the Process of deployment groups in informatica

659


How to update or delete the rows in a target, which do not have key fields?

653


Can you generate sequence numbers without using the sequence generator transformation?

603


What is meant by a domain?

631


whats the logic to load the lower level of granularity of data to fact table.

1807


IN SCD1, insource we have 10 billion records and in the first day its uploaded successfully and in the second day its taking time to upload because some records it might get update or insert new records. As a developer what will be the better solution for this??

564