Hi,
Newbie question.
I have an innodb with 2 columns in the table, szEmailAddress and szCustomerID.
I need to select either by szEmailAddress or szCustomerID efficiently as the DB will be quite large.
The szEmailAddress column is unique and will be the one normally used to select.
What would be the CREATE TABLE syntax to index on each of the fields in the most efficient way.
Thanks,
Jan
Newbie question.
I have an innodb with 2 columns in the table, szEmailAddress and szCustomerID.
I need to select either by szEmailAddress or szCustomerID efficiently as the DB will be quite large.
The szEmailAddress column is unique and will be the one normally used to select.
What would be the CREATE TABLE syntax to index on each of the fields in the most efficient way.
Thanks,
Jan