select count(1) from emp? what is the o/p?
Answers were Sorted based on User's Feedback
Answer / chandu
count(1) means it will count based on 1st column in the
select statement
Is This Answer Correct ? | 14 Yes | 1 No |
Answer / munni
count(1) will give the count of the numbr of records in the
table. count(1) is faster than count(*) since the count is
not based on all the fields.
Is This Answer Correct ? | 13 Yes | 1 No |
Answer / moorthy g
select count(1) from emp;
Count(1):
14
It will display how many records in emp table
Total 14 Records are there in my table.
Correct If I'm wrong
Regards,
Moorthy
Is This Answer Correct ? | 11 Yes | 2 No |
Answer / 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 |
One flatefile it contains some data but i want to dont want to load first and last record ..how it is? can u tell me complete logic?
I have table name in that I have Rajesh Reshika Priya I want the result Like only Starting with R Rajesh Reshika Can someone help me to get these results and How?
Explain lookup transformation is active in informatica
How can a transformation be made reusable?
What are the active and passive transforamtions?
Mention a few design and development best practices for informatica?
How your source files are coming to your ETL server. Actually at which stage of your mapping it is happen.
What is substr in informatica?
what is the need of session partitioning... how it is useful in real time
Describe expression transformation?
How do we eliminate duplicate records in a flat file without using Sorter and Aggregator?
what is the monster dimension plz give me one example