Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Like based on prefix table
Message
From
14/05/2013 10:55:26
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
 
 
To
14/05/2013 10:53:59
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Environment versions
SQL Server:
SQL Server 2008
Application:
Web
Miscellaneous
Thread ID:
01573772
Message ID:
01573786
Views:
46
>>It may be better to store the prefix in a varchar() field
>
>Yes and No, Varchar field is optimized for variable length. In this case, I may end up with thousands of records and their length would differ.

Seems like that would be an ideal case for varchar.
Very fitting: http://xkcd.com/386/
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform