If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > Rowids in fragmented table

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-30-03, 05:41
pd12 pd12 is offline
Registered User
 
Join Date: Sep 2003
Posts: 22
Rowids in fragmented table

Hello All,

Does fragmneted table contain rowids?
If not, how to find the duplicate rows in a table?

I am trying all my ways and nothing is working.

Please help!!


-PD
Reply With Quote
  #2 (permalink)  
Old 10-30-03, 08:37
gurey gurey is offline
Registered User
 
Join Date: Aug 2003
Location: Argentina
Posts: 780
Re: Rowids in fragmented table

Quote:
Originally posted by pd12
Hello All,

Does fragmneted table contain rowids?
If not, how to find the duplicate rows in a table?

I am trying all my ways and nothing is working.

Please help!!


-PD
Hi,

All the rows continene rowid and is not repeated.
In fragmented tables, if it can be repeated, single rowid, not it row. In order to look for duplicated rows rowid executes:
for example select rowid, (primary key),count(*)
from table
group by 1,2
having count(*) > 1

Warning: Informix recommends not to use rowid in fragmented tables.

Gustavo.
Reply With Quote
  #3 (permalink)  
Old 10-30-03, 12:30
pd12 pd12 is offline
Registered User
 
Join Date: Sep 2003
Posts: 22
Hello Gustavo,

Thank you, so much.
I got it.

-PD
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On