tags:

views:

170

answers:

1

Until recently I thought limit on number of columns in Oracle DB was 255. But turns out the limit is 1000. Can someone confirm this?

Also I was trying to find if there is any similar limit on number of columns in Derby DB, particularly embedded derby java DB

+7  A: 

Here's link to Oracle documentation: Logical Database Limits.
Excerpt:

Per table                           1000 columns maximum
Per index (or clustered index)        32 columns maximum
Per bitmapped index                   30 columns maximum



Here's link to Derby documentation: A Derby Database
Excerpt:

columns per table   1,012
zendar
Thanks.. Any idea about Derby?
Fazal
Just for info, if you have more than 255 columns, the row will get stored in up to four 'row pieces'http://download.oracle.com/docs/cd/B28359_01/server.111/b28318/schema.htm#CNCPT1129
Gary
Thanks a lot!!!
Fazal