chrismilnenaq
Technical User
Hello,
I'm using W2K sp2 and SQL 7 sp3. I have a table that supposedly has duplicate rows. I run this query to list the duplicate rows 'SELECT symbol, ddate FROM histdata GROUP BY symbol, ddate HAVING Count(*)>1)'. I delete the duplicate rows and run the above duplicate row statement again. And it gives me more duplicate rows. This cycle keeps on going on for a while, until there are supposedly no more duplicate rows. I then try to create an index on that table and it gives an error saying that there are duplicate rows and the index can't be created. It will say the duplicate row is <NULL> but I specified that those two columns can't be null way before. So I search for null values in those two rows and the query comes back with nothing. I'm puzzled, hopefully you can help. Thanks in advance.
Chris
chris@naq.com
I'm using W2K sp2 and SQL 7 sp3. I have a table that supposedly has duplicate rows. I run this query to list the duplicate rows 'SELECT symbol, ddate FROM histdata GROUP BY symbol, ddate HAVING Count(*)>1)'. I delete the duplicate rows and run the above duplicate row statement again. And it gives me more duplicate rows. This cycle keeps on going on for a while, until there are supposedly no more duplicate rows. I then try to create an index on that table and it gives an error saying that there are duplicate rows and the index can't be created. It will say the duplicate row is <NULL> but I specified that those two columns can't be null way before. So I search for null values in those two rows and the query comes back with nothing. I'm puzzled, hopefully you can help. Thanks in advance.
Chris
chris@naq.com