Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
John Sourcer
Yak Posting Veteran
91 Posts |
Posted - 2008-12-07 : 15:24:01
|
| If I have a table with say 20 columns, mostly nvarchar(n). The first column is a unique id column set as the primary key. The 5th column is say product name nvarchar(240). The table contains 1 million rows and growing. The product name can be repeated but the id remains unique.Anyone know how much slower finding a product by product name will be as opposed to getting it by it's id? |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
|
|
|
|