What SQL data type does Oracle assign to "count(*)"?

Derek Mahar picture Derek Mahar · Aug 17, 2010 · Viewed 10.8k times · Source

What SQL data type does Oracle assign to count(*) in a query like select count(*) from table? Does this depend on the count size?

Answer

OMG Ponies picture OMG Ponies · Aug 17, 2010

The value is an integer; Oracle only has a NUMBER data type.