Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the maximum number of columns allowed in a table?

What is the maximum number of columns allowed in an Oracle table, in the following versions?

  • Oracle 8i
  • Oracle 9i
  • Oracle 10g
  • Oracle 11g
  • Oracle 12c
like image 902
Satheesh Avatar asked Feb 06 '13 06:02

Satheesh


People also ask

What is the maximum column?

To find the max value of a column, use the MAX() aggregate function; it takes as its argument the name of the column for which you want to find the maximum value. If you have not specified any other columns in the SELECT clause, the maximum will be calculated for all records in the table.

What is the maximum number of columns in a table in Oracle?

There's a hard limit of 1,000 columns per table in Oracle Database. So you have to split it into many tables. But if you split it into many tables each with <= 255 columns, you'll have more joins.


2 Answers

A limit of 1,000 columns per table applies for versions 8i, 9i, 10g, 11g, 12c, 18c and 19c.

Prior to that, Oracle 7 had a 254 column limit.

like image 188
Danny Beckett Avatar answered Oct 07 '22 18:10

Danny Beckett


for Oracle 11g :

1000 Columns per table

32 columns per index

Logical Database Limits:

https://docs.oracle.com/cd/B28359_01/server.111/b28320/limits003.htm#i288032

like image 40
mohamed sabri Avatar answered Oct 07 '22 16:10

mohamed sabri