Re: Do we need an index to implement a Table
anant garg <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Thanks Dave, I understood ;-) On Wed, Mar 9, 2011 at 12:43 AM, Dave Shield <[email protected]>wrote: > On 8 March 2011 22:33, anant garg <[email protected]> wrote: > > Is it necessary to have an index into the table > > Yes. > > > or you can have table without index. > > No. > > > Just think about what you are asking for a moment. > The whole point of a table, is that it can contain several > versions of the same information - represented as > distinct rows in the table. > > You need some way to distinguish one row from another. > Which is the point of the index value(s). If you don't have > some form of indexing, how are you going to tell the > difference between the different rows? > > A table *MUST* have some form of index. > The way that you represent this (single integer, a string, > multiple indexes) is up to you - but you need *some* > way of referring to a particular row. > > Dave > ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users