blob: 0b876f2db30fbcd322e62006b0300bc14c1c97d4 [file] [log] [blame]
/*
* Description : Create closed type & query Metadata dataset Datatype to verify.
* Expected Res : Success
* Date : 15 Sep 2012
*/
drop dataverse testdv if exists;
create dataverse testdv;
write output to nc1:"mdtest/basic_meta03.adm";
create type testdv.testtype as closed {
id : int32
}
for $l in dataset('Metadata.Datatype')
where $l.DataverseName='testdv' and $l.DatatypeName='testtype'
return $l
drop dataverse testdv;