lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Actually these restored data contains date which is part of textMessage, that is why I want to insert at the beginning, if I can get some example about index that will be great. thanks.

On Thu, Feb 4, 2010 at 9:57 PM, pan shizhu <> wrote:
> Actually I am importing tables from previous boot, all these tables adding
> at the end than in the beginning, I want to know by passing another
> parameter to query (INSERT INTO table VALUE), this query adds tables at the
> end of the table, by passing some arguement for the above query, can I
> insert in the beginning?

For databases you should *not* rely on raw orders of the record.
Instead you should define an index for your table and all records will
be sort on insert.

So again, "It's likely that you will need to study relational
databases and SQL a
little before asking this question."