﻿<?xml version="1.0" encoding="utf-8"?><xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://wixtoolset.org/schemas/v4/wxs/sql" xmlns="http://wixtoolset.org/schemas/v4/wxs/sql" xmlns:wxs="http://wixtoolset.org/schemas/v4/wxs"><xs:import namespace="http://wixtoolset.org/schemas/v4/wxs" /><xs:element name="SqlDatabase"><xs:complexType><xs:choice minOccurs="0" maxOccurs="unbounded"><xs:element ref="SqlFileSpec" /><xs:element ref="SqlLogFileSpec" /><xs:element ref="SqlScript" /><xs:element ref="SqlString" /><xs:any namespace="##other" processContents="lax" /></xs:choice><xs:attribute name="Id" type="xs:string" /><xs:attribute name="Server" type="xs:string" use="required" /><xs:attribute name="Instance" type="xs:string" /><xs:attribute name="Database" type="xs:string" use="required" /><xs:attribute name="User" type="xs:string" /><xs:attribute name="CreateOnInstall" type="wxs:YesNoTypeUnion" /><xs:attribute name="CreateOnReinstall" type="wxs:YesNoTypeUnion" /><xs:attribute name="CreateOnUninstall" type="wxs:YesNoTypeUnion" /><xs:attribute name="DropOnInstall" type="wxs:YesNoTypeUnion" /><xs:attribute name="DropOnReinstall" type="wxs:YesNoTypeUnion" /><xs:attribute name="DropOnUninstall" type="wxs:YesNoTypeUnion" /><xs:attribute name="ContinueOnError" type="wxs:YesNoTypeUnion" /><xs:attribute name="ConfirmOverwrite" type="wxs:YesNoTypeUnion" /><xs:anyAttribute namespace="##other" processContents="lax" /></xs:complexType></xs:element><xs:element name="SqlFileSpec"><xs:complexType><xs:choice minOccurs="0" maxOccurs="unbounded"><xs:any namespace="##other" processContents="lax" /></xs:choice><xs:attribute name="Id" use="required" type="xs:string" /><xs:attribute name="Name" type="xs:string" /><xs:attribute name="Filename" use="required" type="xs:string" /><xs:attribute name="Size" type="xs:string" /><xs:attribute name="MaxSize" type="xs:string" /><xs:attribute name="GrowthSize" type="xs:string" /><xs:anyAttribute namespace="##other" processContents="lax" /></xs:complexType></xs:element><xs:element name="SqlLogFileSpec"><xs:complexType><xs:choice minOccurs="0" maxOccurs="unbounded"><xs:any namespace="##other" processContents="lax" /></xs:choice><xs:attribute name="Id" type="xs:string" /><xs:attribute name="Name" type="xs:string" /><xs:attribute name="Filename" type="xs:string" /><xs:attribute name="Size" type="xs:string" /><xs:attribute name="MaxSize" type="xs:string" /><xs:attribute name="GrowthSize" type="xs:string" /><xs:anyAttribute namespace="##other" processContents="lax" /></xs:complexType></xs:element><xs:element name="SqlScript"><xs:complexType><xs:choice minOccurs="0" maxOccurs="unbounded"><xs:any namespace="##other" processContents="lax" /></xs:choice><xs:attribute name="Id" type="xs:string" /><xs:attribute name="SqlDb" type="xs:string" /><xs:attribute name="User" type="xs:string" /><xs:attribute name="BinaryRef" type="xs:string" use="required" /><xs:attribute name="ExecuteOnInstall" type="wxs:YesNoTypeUnion" /><xs:attribute name="ExecuteOnReinstall" type="wxs:YesNoTypeUnion" /><xs:attribute name="ExecuteOnUninstall" type="wxs:YesNoTypeUnion" /><xs:attribute name="RollbackOnInstall" type="wxs:YesNoTypeUnion" /><xs:attribute name="RollbackOnReinstall" type="wxs:YesNoTypeUnion" /><xs:attribute name="RollbackOnUninstall" type="wxs:YesNoTypeUnion" /><xs:attribute name="ContinueOnError" type="wxs:YesNoTypeUnion" /><xs:attribute name="Sequence" type="wxs:Integer" /><xs:anyAttribute namespace="##other" processContents="lax" /></xs:complexType></xs:element><xs:element name="SqlString"><xs:complexType><xs:choice minOccurs="0" maxOccurs="unbounded"><xs:any namespace="##other" processContents="lax" /></xs:choice><xs:attribute name="Id" type="xs:string" /><xs:attribute name="SqlDb" type="xs:string" /><xs:attribute name="User" type="xs:string" /><xs:attribute name="SQL" type="xs:string" use="required" /><xs:attribute name="ExecuteOnInstall" type="wxs:YesNoTypeUnion" /><xs:attribute name="ExecuteOnReinstall" type="wxs:YesNoTypeUnion" /><xs:attribute name="ExecuteOnUninstall" type="wxs:YesNoTypeUnion" /><xs:attribute name="RollbackOnInstall" type="wxs:YesNoTypeUnion" /><xs:attribute name="RollbackOnReinstall" type="wxs:YesNoTypeUnion" /><xs:attribute name="RollbackOnUninstall" type="wxs:YesNoTypeUnion" /><xs:attribute name="ContinueOnError" type="wxs:YesNoTypeUnion" /><xs:attribute name="Sequence" type="wxs:Integer" /><xs:anyAttribute namespace="##other" processContents="lax" /></xs:complexType></xs:element></xs:schema>