Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<Batch Transaction="true" xmlns="http://schemas.microsoft.com/analysisservices/2003/engine">
<Create xmlns="http://schemas.microsoft.com/analysisservices/2014/engine">
<DatabaseID>tab</DatabaseID>
<Expressions>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas-microsoft-com:xml-sql">
<xs:element>
<xs:complexType>
<xs:sequence>
<xs:element type="row"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:complexType name="row">
<xs:sequence>
<xs:element name="Name" type="xs:string" sql:field="Name" minOccurs="0"/>
<xs:element name="Description" type="xs:string" sql:field="Description" minOccurs="0"/>
<xs:element name="Kind" type="xs:long" sql:field="Kind" minOccurs="0"/>
<xs:element name="Expression" type="xs:string" sql:field="Expression" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:schema>
<row xmlns="urn:schemas-microsoft-com:xml-analysis:rowset">
<Name>SharedExpression</Name>
<Kind>0</Kind>
<Expression>#shared</Expression>
</row>
</Expressions>
</Create>
</Batch>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.