Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Other Forums
 MS Access
 Max No. of fields in a query

Author  Topic 

KnooKie
Aged Yak Warrior

623 Posts

Posted - 2002-09-24 : 05:52:58
I am using Access 97. Does anyone know the maximum number of fields that can be placed in a query ?? Is there a limit ?


===========
Paul

robvolk
Most Valuable Yak

15732 Posts

Posted - 2002-09-24 : 09:01:40
I have a feeling it's 255. It should be in the Access help file.

Go to Top of Page

MichaelP
Jedi Yak

2489 Posts

Posted - 2002-09-24 : 15:50:43
I'm pretty sure that the max is 255, like Rob said.

If you are asking a question like this, you should probably look at your database design. If you've got fields like :
Item1, Item2, Item3,....Item50

You should REALLY think about putting the "items" in an "items" table and creating a relationship between your "parent" table, and this "child" table.

So some reading on "normalization":
http://www.sqlteam.com/SearchResults.asp?SearchTerms=normalization

Michael


<Yoda>Use the Search page you must. Find the answer you will.</Yoda>
Go to Top of Page

KnooKie
Aged Yak Warrior

623 Posts

Posted - 2002-09-26 : 05:03:18
Cheers guys. Someone asked me so i said i'd try and find out. If it's in the help files i couldn't find it. I told him it weas probably 255/6 anyway. I hope he's not actually going to use all 255 fields as he's working on the same system as me. I think he was just curious whilst having a manic moment


===========
Paul
Go to Top of Page
   

- Advertisement -