>
> After a tiny bit of thinking maybe simple field
>
> last_update TIMESTAMP
>
> would be even simpler. It could even be automatically updated from a
> DB trigger, so I'd only need to modify UPDATEs as you proposed
>
Yes, this will work too, but it's database dependend.
> $set -> Update (\%params, { id => $fdat{id}, last_update =>
> $fdat{last_update} })
>
> Does Recordset's Update method return how many rows where updated? How
> will I know it failed?
>
Update should return the number of rows updated, (it's the return value you
get when you call $dbh -> do ('UPDATE .... ')), but the exact value maybe
database and DBD dependend.
Gerald
-------------------------------------------------------------
Gerald Richter ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting
Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz
E-Mail: [EMAIL PROTECTED] Voice: +49 6133 925131
WWW: http://www.ecos.de Fax: +49 6133 925152
-------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]