RamanGrover29@gmail.com | 58cf330 | 2012-11-09 00:27:45 +0000 | [diff] [blame] | 1 | /* |
2 | * Description : Create closed type & query Metadata dataset Datatype to verify. | ||||
3 | * Expected Res : Success | ||||
4 | * Date : 15 Sep 2012 | ||||
5 | */ | ||||
6 | |||||
7 | drop dataverse testdv if exists; | ||||
8 | create dataverse testdv; | ||||
9 | |||||
10 | write output to nc1:"rttest/meta03.adm"; | ||||
11 | |||||
12 | create type testdv.testtype as closed { | ||||
13 | id : int32 | ||||
14 | } | ||||
15 | |||||
16 | for $l in dataset('Metadata.Datatype') | ||||
17 | where $l.DataverseName='testdv' and $l.DatatypeName='testtype' | ||||
18 | return $l |