List:General Discussion« Previous MessageNext Message »
From:Martin Ramsch Date:July 27 1999 7:29pm
Subject:Re: dynamic table
View as plain text  
On Di, 1999-07-27 12:10:51 -0700, Stephen Uczekaj wrote:
> Can anyone tell me how to insert a new row into a table which
> contains only one field defined as follows:
> 
> mysql> create table abstract(ID int not null auto_increment primary key);

INSERT INTO abstract VALUES (NULL);
SELECT last_insert_id();

Regards,
  Martin
-- 
Martin Ramsch <m.ramsch@stripped> <URL: http://home.pages.de/~ramsch/ >
PGP KeyID=0xE8EF4F75 FiPr=52 44 5E F3 B0 B1 38 26  E4 EC 80 58 7B 31 3A D7
Thread
dynamic tableStephen Uczekaj27 Jul
  • Re: dynamic tableMartin Ramsch27 Jul
  • Re: dynamic tableChristian Mack27 Jul