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 |
|
X002548
Not Just a Number
15586 Posts |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
|
GilaMonster
Master Smack Fu Yak Hacker
4507 Posts |
Posted - 2011-09-09 : 04:51:34
|
| If the column needs indexing (because if not important queries run slow), then the column needs an index. I've created indexes wider than that before.Other thing that needs asking, it's a varchar(300), but how long are the strings stored in it?--Gail ShawSQL Server MVP |
 |
|
|
Lumbago
Norsk Yak Master
3271 Posts |
Posted - 2011-09-09 : 07:55:17
|
| A varchar(300) column would usually indicate a full-text index...but the functionality is of course different. Are you on 2008? In that case a filtered index might do it? Only index records that are less than x characters long...?- LumbagoMy blog-> http://thefirstsql.com/2011/07/08/how-to-find-gaps-in-identity-columns-at-the-speed-of-light/ |
 |
|
|
X002548
Not Just a Number
15586 Posts |
Posted - 2011-09-09 : 10:40:13
|
| Guys..the problem is that some "business analysts" didn't dig deep enough or did true data modeling from a 3rd party vendor. This is waht they came up with.To record the instant of a message going out to employees, the decided to make a "samrt" key. "<system>-<emplid>-<url>"HELLO! And I was told I need to explain WHY this is not a good idea. they actually told the vendor to supply this..WITH the dashes...Why can't I go and interview the Clients in the first place.The realized after I balked, that the do have a unique key per message blast....not paid nearly enoughBrett8-)Hint: Want your questions answered fast? Follow the direction in this linkhttp://weblogs.sqlteam.com/brettk/archive/2005/05/25/5276.aspxWant to help yourself?http://msdn.microsoft.com/en-us/library/ms130214.aspxhttp://weblogs.sqlteam.com/brettk/http://brettkaiser.blogspot.com/ |
 |
|
|
X002548
Not Just a Number
15586 Posts |
|
|
|
|
|