August 22, 2005 at 6:54 am
Hello there.
If I define in a table group1=country and group2=City the table will look:
USA
New York
Los Angeles
.......
Is there a way(I prefere not in the sql code) to index the city like this:
USA
1)New York
2)Los Angeles
3)..........
August 22, 2005 at 7:15 am
You can't index like that on sqlserver... However you can do a covering index on those 2 columns which would speed up the query.
August 22, 2005 at 7:20 am
Is there a trick in the RS himself 2 it???
August 22, 2005 at 7:24 am
Surely but I can't guide in there... someone else surely will.
August 24, 2005 at 2:07 am
Use the RowNumber function in the expression for the city ie.
=RowNumber("<put your group name here>") & "." & Fields!city.value
August 24, 2005 at 3:18 am
August 24, 2005 at 7:38 am
Note:
if u want 2 index group2 u shuold write the RowNumber("group1_name")
Viewing 7 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic. Login to reply