|
View previous topic :: View next topic
|
| Author |
Message |
padma_prakasam
New User
Joined: 06 Oct 2005 Posts: 31
|
|
|
|
| For a select query I'm getting duplicate rows.Is it a code problem or Data problem? What may be solution for both the cases? |
|
| Back to top |
|
 |
perez_a
New User

Joined: 02 Feb 2006 Posts: 25 Location: Italy
|
|
|
|
HI padma,
ARE U SURE THAT YOUR QUERY IS CORRECT?
WRITE YOUR QUERY FOR MORE DETAIL.
TRY TO USE "DISTINCT" CLAUSE TO SOLVE THE PROBLEM
HAVE A NICE DAY perez_a |
|
| Back to top |
|
 |
guptae
Moderator

Joined: 14 Oct 2005 Posts: 1209 Location: Bangalore,India
|
|
|
|
Hi padma,
In order to identify whether it is data problem i have a question.
IF business requirement says that there should be only one row for that particular selection criteria than it is data problem
if it says there can be more than one row than u have to
- Either include more condn in search criteria so that every time it gives only one row in result
- Or Use the cursor
Hope it will be helpful |
|
| Back to top |
|
 |
|
|