/* | |
* 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:"rttest/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 |