General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
Index on padl(alltr(STR(SkNo)),4,'0') Tag SkNoA
>How might one go about this?
>The field is: SkNo N(4,0)
>
>Index on SkNo Tag SkNo
>Index on STR(SkNo,4,0) Tag SkNoA
>
>Data:
> 250
> 350
> 680
>6500
>
>Letting the user type, seek on the tag SkNo requires the full number to be typed; seek on the tag SkNoA brings you to 6500 before 680. What index could be created to get to 680 first and 6500 second?
>
>Thanks,
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only