Duplicate value
Teradata Teradata Discussion Forums Teradata.com Discussion Forum
Visit Teradata.com
Home       Guidelines    Member List
Welcome Guest ( Login | Register )
        


This online forum is for user-to-user discussions of Teradata products, and is not an official customer support channel for Teradata. If you require direct assistance, please contact Teradata support.


Duplicate value Expand / Collapse
Author
Message
Posted 6/22/2006 4:42:27 AM
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Forum Members
Last Login: 1/4/2007 4:44:00 AM
Posts: 22, Visits: 1
All
waiting for the kind response of all friends

1- How to stop the insert of duplicate value in a table.

2- If fast load failed inserting the duplicate value in a table how this problem will be resolved.


Post #4412
Posted 6/22/2006 5:59:16 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 8/3/2006 6:08:00 AM
Posts: 2, Visits: 1
hello,
If you want to stop loading duplicate values for a particular column make that column a unique primary index.


manja
Post #4413
Posted 6/22/2006 9:37:48 AM
Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru

Group: Forum Members
Last Login: 10/12/2006 2:51:00 PM
Posts: 68, Visits: 1
Hi,
are you thinking about duplicate rows or duplicate PI values?

If you're thinking about duplicate rows, then you'll probably have a multiset table with a NUPI on it.
1- if you don't want to have duplicate rows in a table convert your table to set and/or put a UPI (or also a USI) on it.
2- fastload automatically discards perfectly duplicated rows. if you want to load them in a table you have to use another utility, for example multiload.

If you're thinking about duplicate values for the PI:
1- if you don't want to have duplicate values put a UPI on your table
2- using fastload it will automatically discard duplicate PI values and put them in errortable 1. have a look to the manuals.

Hope this helps,
Bye,
TDUser
Post #4415
Posted 6/22/2006 4:37:54 PM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: 7/5/2009 2:58:22 PM
Posts: 134, Visits: 13
You may do a INSERT..SELECT from a MULTISET (duplicate rows) to a SET table for ignoring duplicates.

Fastload can kickout the duplicates while MLOAD has "IGNORE DUPLICATE" option which can be used.
You may want to check Load and Unload utilities manual for exact symantics.

Vinay
Post #4423
« Prev Topic | Next Topic »


Reading This Topic Expand / Collapse
Active Users: 0 ( 0 guests, 0 members, 0 anonymous members )
No members currently viewing this topic.


All times are GMT -5:00, Time now is 10:01pm

Powered By InstantForum.NET v4.1.4 © 2009
Execution: 0.094. 7 queries. Compression Disabled.