Re: How to do a check to see if I update or insert

2004-01-26 Thread John Jolet
you SURE you want to do that in a shell script? I'd do it in perl On Monday 26 January 2004 11:39 am, Mike Tuller wrote: > I am stuck on this problem, and know there has to be a solution. > > I have a shell script, where I want to check to see if a record exists, and > if it does then update t

How to do a check to see if I update or insert

2004-01-26 Thread Mike Tuller
I am stuck on this problem, and know there has to be a solution. I have a shell script, where I want to check to see if a record exists, and if it does then update the record with new information. If it doesn't then insert the information gathered by a script. How, in MySql, using a shell script,