Re: Can I insert into beginning of Table than end of Table
[
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: Vasanta <vtanna1@...>
- Date: Thu, 4 Feb 2010 16:56:56 -0500
the imported file contains atleast 700 events, it does automatically by script, sctpit output shows like, this
query INSERT INTO eventLog ('component', 'facilityId', 'logLevel', 'textMessage', 'binMessage') VALUES ('UMI_COMP_PLATFORM', '3', '8', 'Tue Feb 2 22:02:07 2010 [MFD][System][PLATFORM] Checking for hlt inst', '')
query INSERT INTO eventLog ('component', 'facilityId', 'logLevel', 'textMessage', 'binMessage') VALUES ('UMI_COMP_PLATFORM', '3', '8', 'Tue Feb 2 22:02:07 2010 [MFD][System][PLATFORM] Done', '')
Can I add 1 into query sting?
On Thu, Feb 4, 2010 at 4:49 PM, Joseph Stewart
<joseph.stewart@gmail.com> wrote:
I am inserting some imported events into a Table, looklike it is inserting at the end, is there anyway I can insert at the beginning of Table?.
Yes:
table.insert(t,1,value)
-joe
when I reboot the baord, I am importing previous log from a file, but those imported records inserting at the end of table (this table already have some boot info, I need imported event info at the beginning). can I do it?