Archives of the TeradataForum
Message Posted: Thu, 19 Sep 2002 @ 08:07:14 GMT
Subj: | | Re: Which tables are multiset? |
|
From: | | John Hall |
I'm probably being anal, but as it applies to a Table, the CHECKOPT flag really doesn't indicate whether a table is SET or MULTISET, but
rather whether duplicate row checking will be skipped. By experimentation, here are the settings of the CHECKOPT flag:
- If a Table is defined as a SET Table, then this Column will contain 'N'.
- If a Table is defined as a MULTISET Table and has a UPI, then this Column will contain 'N'.
- If a Table is defined as a MULTISET Table and has a NUPI, then this Column will contain 'Y'.
So as long as your sure that you'll never define a MULTISET table as having a unique primary index, then yes, you can use CHECKOPT.
|