Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

different width of foregin key will affect the performance???

Status
Not open for further replies.

markco

IS-IT--Management
Jan 8, 2001
25
0
0
HK
If a field in a table (eg. transactionno VARCHAR2(14)) which is foreign key of several tables, let say (table1: receiptno VARCHAR2(10), table2: creditnoteno VARCHAR2(14)...), then is it influence the performance when the linkage with transactionno AND the receiptno since the structure length is difference?
Thanks. Markco Wong
 
well, i dont understand why your structure is different, if you have a value with 14 chars in one table then 10 chars in another table you cannot refer to all the values from tha main table. its not meaning full to have it.
try to alter your tables and make it same on all the tables,
regarding performance. i think there wont be much difference, since both are same data type ô¿ô Kishore
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top