what is count(*) from po_vendors(any table)? what does it do
and
what is count(1) from po_vendors(any table)?
what is count(0) from po_vendors(any table)
the out put is same
what is the difference
Answers were Sorted based on User's Feedback
Answer / sandeep sutar
Result if count(*), count(1), count(0) will be same.
Howevenr,
When we use count(*) then
first oracle query executer gets all the rows in buffure
cache, including all column and then counts all the rows.
this will impact with less performance.
select count(1) or count(0)
This reduces unwanted I/O by selecting just '1' against all
the rows.
Best practice to getting rowcount of table is
select count(rowid) from table_name;
| Is This Answer Correct ? | 10 Yes | 1 No |
Answer / koti
Not For above Qution..........
Q)How to fine How many coloumns in the APPs TABLES ?
Ans):-
select count(*) from dba_tab_columns
where table_name ='give apps table name';
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / bujji
select count(*) from temp1;
select count(1) from temp1;
select count(0) from temp1;
Above all 3 statements gives count (all are same) including
null vaues.
select count(Column_Name) from temp1;
Above statement gives the coulumn count witout null vaues.
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / eshwar
count(*) give the column count including null vaues
count(1),count(0) both will give the same result they will
count with out nulls
| Is This Answer Correct ? | 8 Yes | 8 No |
what are the prerequisite set ups for inter organization transaction?
do you know is it possible to run the interface without using oracle apps?
What is the reason for distribution hold. Why invoices will go on distribution variance hold ??
Could any one tell me the steps of conversions and what kind of validations and exceptions do we use during this conversion? Please do answer in detail. what program do we write in user exit in reports?
There are set of records to be processed from staging table into interface table. If one record fails the entire set of data should be rejected.
suppose you want to use a trigger in existing standard apps form and its not available in personalization neither in custom.pll. How you will address the issue ?
what is the use of anchors?
If we have a repeated record in a table. But the repeated record how i can transfer from table to nested table?
hi gurus my name is ramesh i was completed orcale apps technical trainning i wnt to put 3+yrs experience is it correct r not ,if any freshers jobs are available in market pls suggest me. my mail id rameshmcaou@gmail.com and contact no is 9000342411
Tell me how to find the custom directory in front end?
what is instead of trigger. what is the use of that?
How to write the no data found in XML Publiser Report in apps?