Number of cols in table...

They have: 111 posts

Joined: Jun 2006

How many maximum number of columns we can add in one table and how many maximum foreign keys we can use in one table?

SBalan Group
http://www.sbalanprojects.com/

Busy's picture

He has: 6,151 posts

Joined: May 2001

I remember a thread about this a while ago, I think it was a thousand or so cols but then proformance became an issue. I'm working on a project at the moment with 124 cols and thats just user preferences.
Not sure on the foreign keys

timjpriebe's picture

He has: 2,667 posts

Joined: Dec 2004

Depends on what you're using for your DB backend. But likely more than you could (should) ever use.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.