255. However, if you find the need to build a table with more than 30 - 40
fields, then it's very likely that you're building a non-normalized
database.
Theoretically, up to 255 columns. However, you won't be able to fit in more
columns than can fit into about 4,000 to 4,050 bytes, because no record in
the table can exceed the table's data page, which is 4 KB (with Memo fields
and OLE data types being the exception, because those aren't stored in the
same data page as the rest of the columns in the record). But if you're
asking for the maximum number of columns, then be advised that you should
have a maximum of about 30 columns, 50 at the outside. Otherwise you're
building a spreadsheet, not a table, and you need to normalize the table.
However, I suggest that if the number of columns in your table is more that
about 30-40 then you probably have some serious design problems.
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.