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


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



what is count(*) from po_vendors(any table)? what does it do and what is count(1) from po_vendors(..

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

what is count(*) from po_vendors(any table)? what does it do and what is count(1) from po_vendors(..

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

what is count(*) from po_vendors(any table)? what does it do and what is count(1) from po_vendors(..

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

what is count(*) from po_vendors(any table)? what does it do and what is count(1) from po_vendors(..

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

Post New Answer

More Oracle Apps Technical Interview Questions

What is workflow?Explain with a example?

2 Answers   Oracle,


how to use .prt file in bitmap reports?

2 Answers   Accenture,


Difference between triggers and procedures?

2 Answers  


What is the difference between base table and multi-org table?

3 Answers   Infosys,


How can u find custom top? where its located? How to find custom top in front end?

1 Answers  


What is the interface?

3 Answers  


What do you understand by concurrent programs?

0 Answers  


explain o2c cycle? what are the table reflected for this process?

1 Answers   BirlaSoft,


what is the difference between %_all and %_f tables

1 Answers  


tell me the scenarios of between pages in reports

1 Answers   TCS, Wipro,


can we write sql statement in Format trigger?

4 Answers  


Who information?s?

2 Answers  


Categories
  • Oracle Apps Technical Interview Questions Oracle Apps Technical (547)
  • Oracle Apps Financial Interview Questions Oracle Apps Financial (793)
  • Oracle Apps Manufacturing Interview Questions Oracle Apps Manufacturing (53)
  • Oracle Apps HRMS Interview Questions Oracle Apps HRMS (169)
  • Oracle Apps CRM Interview Questions Oracle Apps CRM (9)
  • Oracle Apps SCM Interview Questions Oracle Apps SCM (141)
  • Oracle Install Base Interview Questions Oracle Install Base (62)
  • Oracle Service Contracts Interview Questions Oracle Service Contracts (101)
  • Oracle Apps AllOther Interview Questions Oracle Apps AllOther (114)