Solved

Max # of columns and record length

Posted on 2004-04-21
6
4,254 Views
Last Modified: 2010-08-05
In access xp, or 2000, How many columns are allowed in 1 table,
And in this talbe with the max number of columns, what is the largest record length possible. (Sum of fields types lengths)
0
Comment
Question by:adwiseman
6 Comments
 
LVL 119

Expert Comment

by:Rey Obrero
ID: 10880308
255 Columns or fields
0
 
LVL 119

Accepted Solution

by:
Rey Obrero earned 500 total points
ID: 10880327
to be exact

Microsoft Access database specifications
Access database

Attribute Maximum
Microsoft Access database (.mdb) file size 2 gigabytes minus the space needed for system objects.
Number of objects in a database 32,768
Modules (including forms and reports with the HasModule property set to True) 1,000
Number of characters in an object name 64
Number of characters in a password 14
Number of characters in a user name or group name 20
Number of concurrent users 255

Table

Attribute Maximum
Number of characters in a table name 64
Number of characters in a field name 64
Number of fields in a table 255
Number of open tables 2048; the actual number may be less because of tables opened internally by Microsoft Access
Table size 2 gigabyte minus the space needed for the system objects
Number of characters in a Text field 255
Number of characters in a Memo field 65,535 when entering data through the user interface;
1 gigabyte of character storage when entering data programmatically
Size of an OLE Object field 1 gigabyte
Number of indexes in a table 32
Number of fields in an index 10
Number of characters in a validation message 255
Number of characters in a validation rule 2,048
Number of characters in a table or field description 255
Number of characters in a record (excluding Memo and OLE Object fields) 2,000
Number of characters in a field property setting 255
0
 
LVL 17

Expert Comment

by:walterecook
ID: 10880475
Well done Rey.
I would caution you, adwiseman, that before you build a table of 255 columns, SERIOUSLY consider if that table HAS to be that wide.  You may be better off normalizing where you can.  I only say this because it's pretty rare to even approach 100 columns.

Walt
0
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 
LVL 14

Author Comment

by:adwiseman
ID: 10880514
I'm not actualy doing this, it was just an outer-boundry question.  

Great stuff  capricorn1
0
 
LVL 19

Expert Comment

by:david251
ID: 10880556
I was able to get 778147 Characters in in 12 memo fiels before access started to complain.

-David251
0
 

Expert Comment

by:calculus87
ID: 11101757
I actually would like there to be more than just 255 Columns or fields, because at work I use well of three hundred in some cases.  So I have to have 2 database open and blah it is a pain.
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Introduction When developing Access applications, often we need to know whether an object exists.  This article presents a quick and reliable routine to determine if an object exists without that object being opened. If you wanted to inspect/ite…
QuickBooks® has a great invoice interface that we were happy with for a while but that changed in 2001 through no fault of Intuit®. Our industry's unit names are dictated by RUS: the Rural Utilities Services division of USDA. Contracts contain un…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now