[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Can I insert into beginning of Table than end of Table
- From: pan shizhu <pan.shizhu@...>
- Date: Fri, 5 Feb 2010 10:57:43 +0800
> 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."