Archives of the TeradataForum
Message Posted: Thu, 06 Apr 2006 @ 09:36:39 GMT
I have a created 2 tables as following using
create set table sfra ( a int , b char(10)); create multiset table sfrb ( a int , b char(10)) unique primary index(a);
I have data in staging table, which are duplicate rows of the target table rows. I move the data from this staging table to target table sfra/sfrb using command
insert into sfra/sfrb select * from staging_table;
for the table "sfra" data is loaded but for the second table sfrb, the query fails with 2801 error. as duplicate error.
As i understand set should not allow the duplicates into the table. so the behavior should be same in either case .I s my understanding correct?
Thanks And Regards
|Copyright 2016 - All Rights Reserved|
|Last Modified: 27 Dec 2016|