MS Access Problem - Primary Fields
#1
Scooby Regular
Thread Starter
Join Date: Oct 2002
Location: ex UK [SE], now Sunshine State [QLD,AUS]
Posts: 565
Likes: 0
Received 1 Like
on
1 Post
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.
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.
#2
Scooby Regular
Join Date: Sep 1999
Location: Bedfordshire
Posts: 4,037
Likes: 0
Received 0 Likes
on
0 Posts
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
Gary
#3
Scooby Regular
Thread Starter
Join Date: Oct 2002
Location: ex UK [SE], now Sunshine State [QLD,AUS]
Posts: 565
Likes: 0
Received 1 Like
on
1 Post
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.
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.
#4
Scooby Regular
Join Date: Sep 1999
Location: Bedfordshire
Posts: 4,037
Likes: 0
Received 0 Likes
on
0 Posts
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
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
Thread
Thread Starter
Forum
Replies
Last Post