Database Management
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesDatabase Management

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old November 14th, 2003, 07:43 PM
alam alam is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 67 alam User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 57 m 17 sec
Reputation Power: 5
appending list in table

i'm designing a table which has several fields...
I would like to insert records into the tables, for i.e. stock quotes, every minute or so.... however,

the following is my criteria:-
1)I would like to limit the tables to hold only 20 records.
2)every new record inserted, will append to the last line of the table, and the first record in the table will be erased,
secord record becomes first record, third record become secord record..... etc

I'm thinking of remove the first records and follow by insert
new records to the table. that would keep only 20 records in that table.

any suggestion for minimum overhead?

Last edited by alam : November 14th, 2003 at 09:04 PM.

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesDatabase Management > appending list in table


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway