Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in SQL Server only
Search
Advanced Search
Forums
Product Launch
Updates
Today's Posts
Member List
Calendar
Home
Forum
Topic
SQL Server
Creation of index on Varchar column
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
gangadhar NG
New Member
Join Date:
Jul 2012
Posts:
3
#1
Creation of index on Varchar column
Jul 12 '12, 03:36 AM
If i create an index on Varchar column, It improves the query performance? Yes or No.Explain
Thanks in advance
Niheel
Recognized Expert
Moderator
Top Contributor
Join Date:
Jul 2005
Posts:
2432
#2
Jul 12 '12, 03:57 AM
Ideally, it would be better to use a numeric value, but if you were to crate an index on a varchar, make sure it's not a big varchar and make sure you have plenty of memory. Indexing varchar columns will create big index files.
niheel @ bytes
Comment
Post
Cancel
ck9663
Recognized Expert
Specialist
Join Date:
Jun 2007
Posts:
2878
#3
Jul 12 '12, 04:41 AM
It sounds like an assignment, though...
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment