AndyJG247:No probs, it is easily done. How close was it? It was said in the manner of "I got paid a fortune to go to a clients site and all I had to do was..." style
The idea is that 9 times out of 10 the tables are the reason for performance issues. The data isn't normalized properly within the tables. i.e. The Person's table has an address column that contains "123 fake street, Toronto Ontario, M8V2L2, Canada", whereas most times you want seperate columns for street, city, province/state, postal code, and country. In the first case, if you needed just the postal code, you would have to do some string manipulation behind the scenes, which will ALWAYS take more time than say "SELECT PostalCode From Persons". Doing manipulation on one entry doesn't use too much overhead, but doing it on a 1000, or a million, then it becomes an issue.
So you were pretty much right on...going back to the "it depends" mentality though :)
Cheers
Steve Syfuhs
www.syfuhs.net
--
An expert is one who knows more and more about less and less, until they know absolutely everything about absolutely nothing.