Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

MS Access Problem - Primary Fields

Thread Tools
 
Search this Thread
 
Old 05 May 2005, 04:13 AM
  #1  
velohead66
Scooby Regular
Thread Starter
 
velohead66's Avatar
 
Join Date: Oct 2002
Location: ex UK [SE], now Sunshine State [QLD,AUS]
Posts: 565
Likes: 0
Received 1 Like on 1 Post
Question MS Access Problem - Primary Fields

We all know MS *highly reccommend* using primary fields.

But am I right in thinking very basic queries (were duplicates is not an issue) still work.
Basic in every context, one query off one table.
Old 05 May 2005, 09:59 AM
  #2  
GaryK
Scooby Regular
 
GaryK's Avatar
 
Join Date: Sep 1999
Location: Bedfordshire
Posts: 4,037
Likes: 0
Received 0 Likes on 0 Posts
Default

Yes in your context a primary key field is not essential. Its not an M$ recommendation its a fundamental way to model data where you have relationships between tables.

Gary
Old 06 May 2005, 06:15 AM
  #3  
velohead66
Scooby Regular
Thread Starter
 
velohead66's Avatar
 
Join Date: Oct 2002
Location: ex UK [SE], now Sunshine State [QLD,AUS]
Posts: 565
Likes: 0
Received 1 Like on 1 Post
Question

Thanks,

So, if you have more than one table its a must ??
And if a single table has no links to any other tables, its acceptable ??

Basically,I just use access a repository, and run simple queries.
I add 20,000 items (tickets) per week each with 6 fields per ticket.
That makes 1,000,000 over the year.
I then run simple queries of this data set.
Old 06 May 2005, 08:06 AM
  #4  
GaryK
Scooby Regular
 
GaryK's Avatar
 
Join Date: Sep 1999
Location: Bedfordshire
Posts: 4,037
Likes: 0
Received 0 Likes on 0 Posts
Default

Yes well when you need to create joins on one or more tables then you need a unique field in each table. This can either be a generated by the DB or you can use business data to represent the unique key. You may find however that having a unique indexed primary key field will in fact improve the performance of even simple queries.

With that volume I wouldnt consider using MS Access either. Its very poor when dealing with large datasets and/or concurrent users and it isnt ANSI 92 SQL compliant which basically means the SQL syntax is slightly different from all the 'industrial strength' databases such as SQL server, Oracle etc.

You might want to look at SQL Server 2005 Express which is a cut down version of the full SQL Server and will retail for £49. This replaces MSDE (which may still be available) and that is/was completely free although that was just the engine and didnt come with any management tools.

Gary
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
JimBowen
ICE
5
02 July 2023 01:54 PM
TylerD529
General Technical
2
09 October 2015 01:53 AM
PetrolHeadKid
Driving Dynamics
10
05 October 2015 05:19 PM
T.K
General Technical
10
02 October 2015 11:35 AM
Littleted
Computer & Technology Related
4
25 September 2015 09:55 PM



Quick Reply: MS Access Problem - Primary Fields



All times are GMT +1. The time now is 08:41 AM.