Archives of the TeradataForum
Message Posted: Tue, 27 Jun 2000 @ 20:23:56 GMT
Subj: | | Re: SET or MULTISET? |
|
From: | | Fred Pluebell |
I don't think it's visible through any of the standard dictionary views like dbc.tables.
It's stored using the CheckOpt flag ("Y" = multiset) in the TVM table. Note that when TableKind is "V" (view) this same flag is used to
indicate "WITH CHECK OPTION".
select d.DatabaseName, t.TVMName as TableName,
case CheckOpt when 'Y' then 'MultiSet' else 'Set' end
from dbc.TVM t, dbc.DBase d
where t.DatabaseID = d.DatabaseID
and t.TableKind = 'T';
|