in reply to Dulpicate data? is it worth de-duping?
You mention that you're calling fetchrow_hashref, which suggests you're using DBI. If this is the case, you should consider de-duping in your SQL SELECT statement rather than in your Perl code. The SQL dialect you're using might have a DISTINCT parameter that can be passed to SELECT.
If you find yourself writing Perl code to filter the results of a SQL query, it's usually a sign that the SQL query could be improved.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Dulpicate data? is it worth de-duping?
by Ryszard (Priest) on Mar 14, 2002 at 12:40 UTC | |
by tjh (Curate) on Mar 14, 2002 at 15:25 UTC | |
by mpeppler (Vicar) on Mar 14, 2002 at 23:46 UTC | |
by tjh (Curate) on Mar 15, 2002 at 01:22 UTC |