primary keys having text data type

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



I've got some primary keys whose values look like numbers, such as 100434,
100435 etc., but they have a text data type instead of a number data type.
If I had built these tables myself, I would have defined them as Long
Integer data types, but I inherited the database from another developer.

I ran the Performance Analyzer, and it suggested converting the data types
of these primary keys to Long Integer. However, there are existing queries
that use these fields, and a number of references to these fields in form
and report modules that punctuates these fields as text data. So if I
change them to Long Integer like the Analyzer suggests, I'll have to spend
some time modifying the queries and the VBA code that refers to the fields.

My question is this: is it worth going through the effort to make the
changes? How important is it to change the data type of these primary key
fields to Long Integer?

Thanks in advance,

Paul


.



Relevant Pages

  • Re: Form for table
    ... I have three tables that are related by primary keys. ... the employees. ... In the Northwind example the names show in the field ... Last Name, First Name, but the data type is set for number. ...
    (microsoft.public.access.forms)
  • MySQL query on multiple tables ?
    ... I currently have several tables in MySQL database. ... (Data type for each fields are ignored) ... Search for usersin a particular city/state/zipcode that ... The primary keys are from table "user". ...
    (comp.lang.php)
  • Form for table
    ... I have three tables that are related by primary keys. ... the employees. ... In the Northwind example the names show in the field ... Last Name, First Name, but the data type is set for number. ...
    (microsoft.public.access.forms)
  • Re: Informix Serial Data type to Integer Data Type
    ... At present the Primary keys in these tables are of Informix Serial data type. ...
    (comp.databases.informix)
  • Re: AS2005 very poor performance w/ DistinctCount
    ... Queries take normally more than 10 minutes do execute. ... Currently we do not have set the aggregations since we are not able to do ... partition had a file with almost 2 GB in size. ... For data type Y we load ~25 million rows per month to ...
    (microsoft.public.sqlserver.olap)