For you database design/performance gurus out there.
I'm designing a table, I have the choice of either use int or nvarchar (128) for a column, assume space is not a problem. My question is which will give performance
when I search with int column
where ID = 12324
or when I search with nvarchar column (the Key is the entire value, so I'm not using LIKE operator)
where Key = 'my str'
I'm sure for smaller datasets it doesn't matter, but let's assume this data will be in the millions of rows.