visitor (0 QPoints)
  • FR
  • EN
  • NL
  • DE
  • ES
315 experts, 1193 registered users, 1659 questions already answered
European Experts Exchange, the very best site for high-quality IT solutions

New Improved Search!

 


05/10/2011 1h30 : Steve Jobs is dead, the father of Apple ][ is gone, we are all orphaned.

Databases :: MySql :: INSERT a value at a specific point of the database?


By: Squibi U.S.A.  Date: 17/10/2002 00:00:00  English  Points: 50 Status: Answered
Quality : Excellent
hi there,

I wonder if it´s possible to insert a dataset at a specific point of the table?

Is there something like INSERT AT or INSERT ON..?


thnx in advance
dennis
By: monange Date: 17/10/2002 00:14:00 English  Type : Answer
This is not possible with ANY database product (except sequential-like products). mysql goes rather as rdbms product, which cannot guarantee at which point of the table the record will be.

Anyway, this should not matter, simply use ORDER BY clause to get the results ordered...

CHeers
By: digitaltree Date: 17/10/2002 12:53:00 English  Type : Comment
i agree with angell, just make a field which will hold their sequential value and use ORDER BY ..
By: VGR Date: 31/10/2002 22:45:00 English  Type : Assist
usually, this is the first firld of any well-built table : "ID smallint auto_increment" ;-))

You may OF COURSE insert a record/dataset precisely, in the place ID=43 (for example), provided you copy first record #43's contents to some other ID, by using UPDATE table WHERE ID=43; afterwards

Do register to be able to answer

EContact
browser fav
page generated in 334.124090 milliseconds

Why Google AdSense ads ?

compteur
 Ranking-Hits PageRank for this page