Re: MySQL, perl, last_insert_id() question

2008-01-29 Thread Baron Schwartz
Hi, On Jan 28, 2008 3:29 PM, Dean Karres <[EMAIL PROTECTED]> wrote: > Hi, > > I know that someone is going to say, "go ask the perl module guys" and > I will but they are likely to say, "go ask the MySQL guys". I'll be > asking in both groups. > > I am installing a script on a brand new RedHat, F

Re: MySQL, perl, last_insert_id() question

2008-01-28 Thread Octavian Rasnita
n - Original Message - From: "Dean Karres" <[EMAIL PROTECTED]> To: Sent: Monday, January 28, 2008 10:29 PM Subject: MySQL, perl, last_insert_id() question Hi, I know that someone is going to say, "go ask the perl module guys" and I will but they are likely

MySQL, perl, last_insert_id() question

2008-01-28 Thread Dean Karres
Hi, I know that someone is going to say, "go ask the perl module guys" and I will but they are likely to say, "go ask the MySQL guys". I'll be asking in both groups. I am installing a script on a brand new RedHat, Fedora Core 7 (x86_64) box that is running MySQL 5.0.45 (rpm install). I also hav

Re: last_insert_id() question

2002-09-26 Thread Jeff Kilbride
Hi Sean, > "If expr is given as an arguement to LAST_INSERT_ID(), the value of the > arguement is returned by the function, is set as the next value to be > returned by LAST_INSERT_ID(), and is used as the next AUTO_INCREMENT > value" I don't think this entire statement is correct. The onlin

last_insert_id() question

2002-09-26 Thread speters
I've read a bit about using LAST_INSERT_ID(expr) to set the next auto_increment value. my question is, if i have 2 tables, like follows CREATE TABLE A ( id int not null auto_increment primary key, ... )type=MyISAM; CREATE TABLE B ( id int not null auto_increment primary key, ... )type=MyISAM;