The INFOMAPS Procedure |
Required Argument |
specifies the ID of the relationship to update.
Options |
specifies the cardinality of the relationship.
specifies the columns to be joined to create a single relationship between two tables.
Requirement: | The columns referenced in the conditional expression must be qualified with the associated data source ID and must be enclosed in double angle brackets <<...>>. |
specifies how custom properties for the relationship are updated. Custom properties are supported by specific SAS applications such as SAS Marketing Automation. Valid operations are the following:
removes all custom properties from the relationship, if there are any.
adds to a custom list of values for the relationship.
The form of the custom-properties-list is
("property-name-1" "property-value-1" <"description-1">) ... ("property-name-n" "property-value-n" <"description-n">)where
specifies the name of the property.
Requirement: | Property names must be unique. If a property name already exists in the relationship, then the INSERT RELATIONSHIP statement will fail. Therefore, it is recommended that you add a prefix or suffix to the property name to ensure uniqueness. |
Restriction: | Property names cannot begin with an underscore (_) character. |
specifies the value of the property.
specifies the description of the property. The description is optional.
replaces a custom list of values for the relationship.
See the ADD operation for a description of the form of the custom-properties-list.
removes names from a custom properties list.
The form of the property-names-list is
"property-name-1" <... "property-name-n">
Interaction: | If you specify both the ADD and REMOVE operations, then the REMOVE operation occurs first. |
specifies the description of the relationship, which can be viewed by the information map consumer.
Alias: | DESC |
specifies the new ID for the relationship.
specifies the type of join.
returns all the rows in one table that have one or more matching rows in the other table
returns all the rows in the specified left table, plus the rows in the specified right table that match rows in the left table
returns all the rows in the specified right table, plus the rows in the specified left table that match rows in the right table
returns all the rows in both tables
Example |
update relationship "join_customer_to_transaction" condition="(<<CUSTOMER.Cust_ID>>=<<TRANSACTION.Cust_ID>>)" join=inner; update relationship "CustTransaction" cardinality=one_to_one join=left; update relationship "join" join=inner cardinality= one_to_many condition= "(<<CUSTOMER.Cust_ID>>=<<TRANSACTION.Cust_ID>>) and (<<CUSTOMER.Cust_ID>> > 142673939)";
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.