![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Topic: Hundreds of columns, index would be required on all of the columns. Hi! How could this be implemented? There are several items (or rows). One item (or row) has e.g. even 900 columns. An index would be needed on every column. Would it be better to have 900 columns or should the table structure be something else? |
|
900 columns, table structure: Item ID, item name, column 1, column 2, column 3, column 4, ..., column 888, column 889, column 900 -> Index on all of the columns. SQL clauses are very long with that kind of a table structure. |
#3
| |||
| |||
|
|
Topic: Hundreds of columns, index would be required on all of the columns. Hi! How could this be implemented? There are several items (or rows). One item (or row) has e.g. even 900 columns. An index would be needed on every column. Would it be better to have 900 columns or should the table structure be something else? |
|
900 columns, table structure: Item ID, item name, column 1, column 2, column 3, column 4, ..., column 888, column 889, column 900 -> Index on all of the columns. SQL clauses are very long with that kind of a table structure. |
#4
| |||
| |||
|
|
Topic: Hundreds of columns, index would be required on all of the columns. Hi! How could this be implemented? There are several items (or rows). One item (or row) has e.g. even 900 columns. An index would be needed on every column. Would it be better to have 900 columns or should the table structure be something else? |
|
900 columns, table structure: Item ID, item name, column 1, column 2, column 3, column 4, ..., column 888, column 889, column 900 -> Index on all of the columns. SQL clauses are very long with that kind of a table structure. |
#5
| |||
| |||
|
|
Topic: Hundreds of columns, |
|
index would be required on all of the columns. |
|
How could this be implemented? |
#6
| |||
| |||
|
|
Topic: Hundreds of columns, |
|
index would be required on all of the columns. |
|
How could this be implemented? |
#7
| |||
| |||
|
|
Topic: Hundreds of columns, |
|
index would be required on all of the columns. |
|
How could this be implemented? |
#8
| |||
| |||
|
|
All of the 900 columns could be on separate rows too. |
|
Then creation of an index might be easier. But size of the database might increase. |
#9
| |||
| |||
|
|
All of the 900 columns could be on separate rows too. |
|
Then creation of an index might be easier. But size of the database might increase. |
#10
| |||
| |||
|
|
All of the 900 columns could be on separate rows too. |
|
Then creation of an index might be easier. But size of the database might increase. |
![]() |
| Thread Tools | |
| Display Modes | |
| |