| Subject | Re: [firebird-support] Copy a record | 
|---|---|
| Author | Milan Babuskov | 
| Post date | 2003-11-19T14:31:29Z | 
Bill Katelis wrote:
PK for that table.
--
Milan Babuskov
http://fbexport.sourceforge.net
            > how about:He couldn't do that, since it would make a PK violation. MachineID is a
> delete the one you are copying to and then insert into.
>
> eg.
> delete from Mytabel where MachineID = ...;
>
> insert into Mytabel select * from Mytabel where MachineID = :PMachineID;
PK for that table.
--
Milan Babuskov
http://fbexport.sourceforge.net