Subject | Re: [Firebird-Java] Eliminar Registros Duplicados |
---|---|
Author | Roman Rokytskyy |
Post date | 2011-11-24T15:44:19Z |
> DELETE FROM TABLE_EXAMPLECheck this statement in firebird-support first! Firebird has one issue,
> WHERE TABLE_EXAMPLE.ID IN (SELECT MAX(TABLE_EXAMPLE.ID)
> FROM TABLE_EXAMPLE
> GROUP BY FIELD1, FIELD2,
> FIELD3)
>
> If you have problems with performance of delete statement you should try
> convert it into a stored procedure.
that might cause deleting ALL records from the table with this statement!
Roman