customerprofitability.dsv
来自「< SQL Server2005程序设计>」· DSV 代码 · 共 341 行 · 第 1/2 页
DSV
341 行
<DataSourceView xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:dwd="http://schemas.microsoft.com/DataWarehouse/Designer/1.0" dwd:design-time-name="07f0cea4-e1a1-4683-8165-a7e6f0ccc87f" xmlns="http://schemas.microsoft.com/analysisservices/2003/engine">
<ID>CustomerProfitability</ID>
<Name>CustomerProfitability</Name>
<CreatedTimestamp>0001-01-01T05:00:00Z</CreatedTimestamp>
<LastSchemaUpdate>0001-01-01T05:00:00Z</LastSchemaUpdate>
<Annotations>
<Annotation>
<Name>http://schemas.microsoft.com/DataWarehouse/Designer/1.0:ShowFriendlyNames</Name>
<Value>true</Value>
</Annotation>
<Annotation>
<Name>http://schemas.microsoft.com/DataWarehouse/Designer/1.0:CurrentLayout</Name>
<Value>_ALL_TABLES_</Value>
</Annotation>
<Annotation>
<Name>http://schemas.microsoft.com/DataWarehouse/Designer/1.0:SchemaRestriction</Name>
</Annotation>
<Annotation>
<Name>http://schemas.microsoft.com/DataWarehouse/Designer/1.0:RetrieveRelationships</Name>
<Value>true</Value>
</Annotation>
<Annotation>
<Name>http://schemas.microsoft.com/DataWarehouse/Designer/1.0:Layouts</Name>
<Value>
<Layouts xmlns="">
<Diagram>
<Name>_ALL_TABLES_</Name>
<DiagramLayout>
<dds>
<diagram fontclsid="{0BE35203-8F91-11CE-9DE3-00AA004BB851}" mouseiconclsid="{0BE35204-8F91-11CE-9DE3-00AA004BB851}" defaultlayout="MSDDS.Rectilinear" defaultlineroute="MSDDS.Rectilinear" version="7" nextobject="8" scale="100" pagebreakanchorx="0" pagebreakanchory="0" pagebreaksizex="0" pagebreaksizey="0" scrollleft="-3905" scrolltop="-5000" gridx="150" gridy="150" marginx="5000" marginy="5000" zoom="100" x="22410" y="22463" backcolor="15334399" defaultpersistence="2" PrintPageNumbersMode="3" PrintMarginTop="0" PrintMarginBottom="635" PrintMarginLeft="0" PrintMarginRight="0" marqueeselectionmode="0" mousepointer="0" snaptogrid="0" autotypeannotation="1" showscrollbars="0" viewpagebreaks="0" donotforceconnectorsbehindshapes="1" backpictureclsid="{00000000-0000-0000-0000-000000000000}">
<font>
<ddsxmlobjectstreamwrapper binary="01000000900144420100065461686f6d61" />
</font>
<mouseicon>
<ddsxmlobjectstreamwrapper binary="6c74000000000000" />
</mouseicon>
</diagram>
<layoutmanager>
<ddsxmlobj />
</layoutmanager>
<ddscontrol controlprogid="DdsShapes.DdsObjectManagedBridge.1" tooltip="vCustomerProfitability (dbo.vCustomerProfitability)" left="0" top="0" logicalid="4" controlid="1" masterid="0" hint1="0" hint2="0" width="4604" height="5000" noresize="0" nomove="0" nodefaultattachpoints="0" autodrag="1" usedefaultiddshape="1" selectable="1" showselectionhandles="1" allownudging="1" isannotation="0" dontautolayout="0" groupcollapsed="0" tabstop="1" visible="1" snaptogrid="0">
<control>
<ddsxmlobjectstreaminitwrapper binary="00080000fc11000088130000" />
</control>
<layoutobject>
<ddsxmlobj>
<property name="LogicalObject" value="dbo_vCustomerProfitability" vartype="8" />
</ddsxmlobj>
</layoutobject>
<shape groupshapeid="0" groupnode="0" />
</ddscontrol>
<ddscontrol controlprogid="DdsShapes.DdsObjectManagedBridge.1" tooltip="vCustomerPurchases (dbo.vCustomerPurchases)" left="7341" top="80" logicalid="5" controlid="2" masterid="0" hint1="0" hint2="0" width="4101" height="4842" noresize="0" nomove="0" nodefaultattachpoints="0" autodrag="1" usedefaultiddshape="1" selectable="1" showselectionhandles="1" allownudging="1" isannotation="0" dontautolayout="0" groupcollapsed="0" tabstop="1" visible="1" snaptogrid="0">
<control>
<ddsxmlobjectstreaminitwrapper binary="0008000005100000ea120000" />
</control>
<layoutobject>
<ddsxmlobj>
<property name="LogicalObject" value="dbo_vCustomerPurchases" vartype="8" />
</ddsxmlobj>
</layoutobject>
<shape groupshapeid="0" groupnode="0" />
</ddscontrol>
<ddscontrol controlprogid="MSDDS.Polyline" left="4304" top="-99" logicalid="6" controlid="3" masterid="0" hint1="0" hint2="0" width="3337" height="799" noresize="0" nomove="0" nodefaultattachpoints="1" autodrag="0" usedefaultiddshape="0" selectable="1" showselectionhandles="0" allownudging="1" isannotation="0" dontautolayout="0" groupcollapsed="0" tabstop="1" visible="1" snaptogrid="0">
<control>
<ddsxmlobj>
<polyline endtypedst="6" endtypesrc="3" usercolor="0" linestyle="0" linerender="2" customendtypedstid="0" customendtypesrcid="0" adornsvisible="1" />
</ddsxmlobj>
</control>
<layoutobject>
<ddsxmlobj>
<property name="LogicalObject" value="dataSet.Relations[vCustomerPurchases-vCustomerProfitability]" vartype="8" />
<property name="Virtual" value="0" vartype="11" />
<property name="VisibleAP" value="0" vartype="3" />
</ddsxmlobj>
</layoutobject>
<connector lineroutestyle="MSDDS.Rectilinear" sourceid="1" destid="2" sourceattachpoint="19" destattachpoint="14" segmenteditmode="0" bendpointeditmode="0" bendpointvisibility="0" relatedid="0" virtual="0">
<point x="4604" y="300" />
<point x="6012" y="300" />
<point x="6012" y="301" />
<point x="7341" y="301" />
</connector>
</ddscontrol>
</dds>
</DiagramLayout>
<ShowRelationshipNames>False</ShowRelationshipNames>
<UseDiagramDefaultLayout>True</UseDiagramDefaultLayout>
<DiagramViewPortLeft>-3905</DiagramViewPortLeft>
<DiagramViewPortTop>-5000</DiagramViewPortTop>
<DiagramBoundingLeft>0</DiagramBoundingLeft>
<DiagramBoundingTop>0</DiagramBoundingTop>
<DiagramZoom>100</DiagramZoom>
</Diagram>
</Layouts>
</Value>
</Annotation>
</Annotations>
<DataSourceID>Adventure Works DW</DataSourceID>
<Schema>
<xs:schema id="CustomerProfitability" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop">
<xs:element name="CustomerProfitability" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:design-time-name="1e4a8145-fbb4-46b6-90de-ff406dd5c296">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="dbo_vCustomerProfitability" msprop:FriendlyName="vCustomerProfitability" msprop:DbSchemaName="dbo" msprop:DbTableName="vCustomerProfitability" msprop:design-time-name="dc46e579-2caa-491e-83af-12a7c7dbfe51" msprop:TableType="View">
<xs:complexType>
<xs:sequence>
<xs:element name="CustomerKey" msprop:FriendlyName="CustomerKey" msprop:DbColumnName="CustomerKey" msprop:design-time-name="6da6b312-1587-4a20-a4a3-76088fa2d0aa" type="xs:int" />
<xs:element name="MaritalStatus" msprop:FriendlyName="MaritalStatus" msprop:DbColumnName="MaritalStatus" msprop:design-time-name="ed7f8008-1c75-40d8-80f9-885ba0c6f952" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="1" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Gender" msprop:FriendlyName="Gender" msprop:DbColumnName="Gender" msprop:design-time-name="fb81735a-f302-44a6-80b3-d89a0a052605" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="1" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="YearlyIncome" msprop:FriendlyName="YearlyIncome" msprop:DbColumnName="YearlyIncome" msprop:design-time-name="f7a670a7-012c-4b10-90bc-f4962e32344f" type="xs:decimal" minOccurs="0" />
<xs:element name="IncomeGroup" msdata:ReadOnly="true" msprop:FriendlyName="IncomeGroup" msprop:DbColumnName="IncomeGroup" msprop:design-time-name="4c8b5f6f-0d9a-45aa-8e3f-104c4b985c9c">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="8" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="TotalChildren" msprop:FriendlyName="TotalChildren" msprop:DbColumnName="TotalChildren" msprop:design-time-name="e73d6914-89c5-434c-a0c3-1c125b0f1c61" type="xs:unsignedByte" minOccurs="0" />
<xs:element name="HasKids" msdata:ReadOnly="true" msprop:FriendlyName="HasKids" msprop:DbColumnName="HasKids" msprop:design-time-name="e490ec45-d9ec-48b6-af62-ed034a695a7a">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="1" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="NumberChildrenAtHome" msprop:FriendlyName="NumberChildrenAtHome" msprop:DbColumnName="NumberChildrenAtHome" msprop:design-time-name="cd8a9202-7ada-41d3-9fba-7c8958e06a48" type="xs:unsignedByte" minOccurs="0" />
<xs:element name="HasKidsAtHome" msdata:ReadOnly="true" msprop:FriendlyName="HasKidsAtHome" msprop:DbColumnName="HasKidsAtHome" msprop:design-time-name="ac76447a-f6f9-410a-9ba0-f3dc3f373f77">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="1" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="EnglishEducation" msprop:FriendlyName="EnglishEducation" msprop:DbColumnName="EnglishEducation" msprop:design-time-name="54f24342-cfe7-4d6b-bd91-f534a9c271f8" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="40" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="EnglishOccupation" msprop:FriendlyName="EnglishOccupation" msprop:DbColumnName="EnglishOccupation" msprop:design-time-name="617af4e2-c023-4cb0-a509-561825a1ea3d" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="100" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="IsHomeOwner" msdata:ReadOnly="true" msprop:FriendlyName="IsHomeOwner" msprop:DbColumnName="IsHomeOwner" msprop:design-time-name="e1898357-c577-4297-9811-d901ca99fbb9">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="1" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="NumberCarsOwned" msprop:FriendlyName="NumberCarsOwned" msprop:DbColumnName="NumberCarsOwned" msprop:design-time-name="5f00ca63-2cfa-4444-866c-2ce47fc505d1" type="xs:unsignedByte" minOccurs="0" />
<xs:element name="IsCarOwner" msdata:ReadOnly="true" msprop:FriendlyName="IsCarOwner" msprop:DbColumnName="IsCarOwner" msprop:design-time-name="db327a2c-53ae-49de-94b9-c060afdcbc53">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="1" />
</xs:restriction>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?