If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Other > Looking for Database with many columns

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-16-07, 16:45
Chriz81 Chriz81 is offline
Registered User
 
Join Date: Jun 2007
Posts: 19
Looking for Database with many columns

Hi,

I'm looking for a database which can create very, very many columns.

The maximum I found is the MySQL with a maximum of 3398 colums.
DB2: 1012
Oracle: 1000
PostgreSQL: 1600

Does anybody know a database which can create more columns?

Chris
Reply With Quote
  #2 (permalink)  
Old 06-16-07, 17:03
r937 r937 is offline
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,540
short answer: no, i don't know of any

long answer: you do not need that many columns
__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book
Reply With Quote
  #3 (permalink)  
Old 06-16-07, 17:14
Chriz81 Chriz81 is offline
Registered User
 
Join Date: Jun 2007
Posts: 19
normally I would say YES. You won't need that many columns.
But I'm working for project at my university and we have to transform existing tables.
For instance, there is a table with two columns, users and rights. Then I need a second table with one column for the user and as many columns as rights. After that I will translate the rights into 0 and 1. If a user has the right he will get an 1 in the specific column, otherwise a 0.
It looks roughly like this:
User - Right1 - Right2 - Right3 - .... - Rightn
X - 0 - 1 - 0 - 1 -
Y - 1 - 1 - 1 - 1 -
...

That's the base for some mining tools.

As it seems there is no database which supports our project. I think we have to shorten the input.
Reply With Quote
  #4 (permalink)  
Old 06-16-07, 17:26
r937 r937 is offline
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,540
Quote:
Originally Posted by Chriz81
Then I need a second table with one column for the user and as many columns as rights.
no you don't

which "mining tools" are you using?
__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book
Reply With Quote
  #5 (permalink)  
Old 06-16-07, 17:28
Chriz81 Chriz81 is offline
Registered User
 
Join Date: Jun 2007
Posts: 19
Ok, I will see.

Chris
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On