Regarding string as index for tables

2010-04-15 Thread phani kumar
Hi, I am trying to implement a table having two index values both being strings. Could any one tell me how the getnext works especially when the indexes are string and that too in lexicographical order by example please ? Lets say the row one indexed by mike and hello Row 2 by amfi and chris P

Regarding string as index for tables

2010-04-15 Thread phani kumar
Dave, Thanks for quick response and as you said lets assume the index looks like { index1, IMPLIED index2 } and lets simplify the index from two to one and lets say this looks like index c1 rowstatus -- ab 1 hi 2 cd 3 ef 4 bc 5 In the above s

Re: Regarding string as index for tables

2010-04-15 Thread phani kumar
IED which one comes first in the walk c1.ab or c1.ag ? as both got 2 letters ? May I assume this is going to be implementation specific as some or other logic needs to be applied at the end to retrieve the data for non-implied indexand 'abg' comes last in the walk as this is three

Re: Regarding string as index for tables

2010-04-15 Thread phani kumar
TC or donno This is what I heard !! Dave, your comments please... Regards --- On Thu, 15/4/10, Dave Shield wrote: From: Dave Shield Subject: Re: Regarding string as index for tables To: "phani kumar" Cc: net-snmp-users@lists.sourceforge.net Date: Thursday, 15 April, 2010, 10:52 O

Re: Regarding string as index for tables

2010-04-15 Thread phani kumar
Thanks Dave. Really appreciate your help spending time on my issues. Best Regards, --- On Thu, 15/4/10, Dave Shield wrote: From: Dave Shield Subject: Re: Regarding string as index for tables To: "phani kumar" Cc: net-snmp-users@lists.sourceforge.net Date: Thursday, 15 April, 2010,