RE: Update or insert with a single SQL statement?

2006-03-31 Thread Shaunak Kashyap
nal Message- > From: Greg Donald [mailto:[EMAIL PROTECTED] > Sent: Friday, March 31, 2006 2:38 PM > To: mysql@lists.mysql.com > Subject: Re: Update or insert with a single SQL statement? > > On 3/31/06, Brian Dunning <[EMAIL PROTECTED]> wrote: > > I have a

Re: Update or insert with a single SQL statement?

2006-03-31 Thread Greg Donald
On 3/31/06, Brian Dunning <[EMAIL PROTECTED]> wrote: > I have a really simple two-column database: > > domain_name (primary key) > timestamp > > I'm trying to keep track of the referrer of every visit to a web > site, and I'm looking for a single SQL statement (since my ISP limits > the total numbe

Update or insert with a single SQL statement?

2006-03-31 Thread Brian Dunning
I have a really simple two-column database: domain_name (primary key) timestamp I'm trying to keep track of the referrer of every visit to a web site, and I'm looking for a single SQL statement (since my ISP limits the total number of calls I can make in a day) that will either insert a ne