masoud_sedighy
Registered User.
- Local time
- Today, 11:29
- Joined
- Dec 10, 2011
- Messages
- 132
Actually my question is in 2 parts:
Table:
Doc no (PK), Text type
Title
Originator
Field I have selected for primary key is text type and some times around 50 characters. Now in my database that I have built before speed of some queries are very slow.
I do not know the problem is for primary key or no?
Best regards.
- If we have one table like below that we are sure 1 field of this table always is unique we have to select that as primary key or we have to add one auto number field for primary key?
Table:
Doc no (PK), Text type
Title
Originator
Field I have selected for primary key is text type and some times around 50 characters. Now in my database that I have built before speed of some queries are very slow.
I do not know the problem is for primary key or no?
- If I have to add new auto number field to my related tables and define new primary keys how I have to that, because each of table has a lot of records?
Best regards.