Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
10564 Vizualizări

Hey Guys,

I am stuck to resolve this error tables can have at most 1600 columns and not getting any idea to solve it.

Kindly help me out to solve it.

Thanks in advance.



Imagine profil
Abandonează
Cel mai bun răspuns

This is a limitation of the underlying database, PostgreSQL.

Note that this is ALSO a larger amount than Oracle, which can support 1,000 columns per table, allows.

You should be able to to design your database tables in a way that require way less than 1,600 columns - check out "normalization" which is the technique database designers use to address this problem.  It would be extremely rare that a single object would have 1,600 attributes that are functionally dependent on the object key/identifier.

http://www.essentialsql.com/get-ready-to-learn-sql-database-normalization-explained-in-simple-english/

Imagine profil
Abandonează
Cel mai bun răspuns

I think you have to split the table into multiple tables. For that you can create multiple masters for that and have one2many relation  to each other. It is same as what Ray said , use the normalization and identify how to split the table effectively. For more information on the normalization , would suggest you to go below link

https://www.youtube.com/watch?v=UrYLYV7WSHM

Imagine profil
Abandonează