A
Arvi Laanemets
Hi
In some table I have primary key (ID) structured as CNNNNNNNNNNN. The first
letter of key determines the group, the item is belonging to. All groups,
along with their names, are listed in another table. I'm trying to
estabilish the relationship between two tables, but I haven't found a way to
define an index for first table, calculated as LEFT(ID,1). Is there a way
to do this, or I have to split primary key field ID, and use an composed
index as primary key?
Thanks in advance!
In some table I have primary key (ID) structured as CNNNNNNNNNNN. The first
letter of key determines the group, the item is belonging to. All groups,
along with their names, are listed in another table. I'm trying to
estabilish the relationship between two tables, but I haven't found a way to
define an index for first table, calculated as LEFT(ID,1). Is there a way
to do this, or I have to split primary key field ID, and use an composed
index as primary key?
Thanks in advance!