I'm in the process of creating a table and it made me wonder.
If I store, say cars that has a make (fx BMW, Audi ect.), will it make any difference on the query speed if I store the make as an int or varchar.
So is
SELECT * FROM table WHERE make = 5 AND ...;
Faster/slower than
SELECT * FROM table WHERE make = 'audi' AND ...;
or will the speed be more or less the same?
Question&Answers:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…