blob: b2e7304ec543ad968bdf1d7d9046cd3b3d34fb55 [file] [log] [blame]
/*
* Description : Create open 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_meta04.adm";
create type testdv.testtype as open {
id : int32
}
for $l in dataset('Metadata.Datatype')
where $l.DataverseName='testdv' and $l.DatatypeName='testtype'
return $l
drop dataverse testdv;