I've been having a discussion with a co-worker who feels that relationships between tables on a varchar type column should be avoided, as in his opinion they'll be much slower in query execution than on int type columns. In the database we're working on, we've currently got a varchar relation which we *might* be able to change to int with difficulty. I think it'll not be worth it in terms of speed, he thinks we should go for it. We're talking tables with maybe a couple thousand records in the foreseeable future.
Can anybody provide some insight here? Will there be a speed difference, and how big will it be? Will it be worth it for us to go through complicated changes, or are we gaining tenths of seconds?
"Much that I bound, I could not free. Much that I freed returned to me."
(Lee Wilson Dodd)
Can anybody provide some insight here? Will there be a speed difference, and how big will it be? Will it be worth it for us to go through complicated changes, or are we gaining tenths of seconds?
"Much that I bound, I could not free. Much that I freed returned to me."
(Lee Wilson Dodd)