Hello All,
I am having a bit of a problem with nstcl 0.6, postgres 7.1.3 and my
own thick skull. What I am trying to do is the following logic:
here is the table I am trying to work with:
ubr varchar(40), route cidr, first_seen timestamp , last_seen timestamp
primary key(ubr, route)
I just want to update the last_seen timestamp if the row exists or insert a new row.
When I get into work tomarrow I will post the code, if there is any interest.
- update a row
- if it fails to update insert it
here is the table I am trying to work with:
ubr varchar(40), route cidr, first_seen timestamp , last_seen timestamp
primary key(ubr, route)
I just want to update the last_seen timestamp if the row exists or insert a new row.
When I get into work tomarrow I will post the code, if there is any interest.
Good night
Request notifications