Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  iWay Software Product Forum on Focal Point    Multiple "Logical Key" fields
Go
New
Search
Notify
Tools
Reply
  
Multiple "Logical Key" fields
 Login/Join
 
Member
posted
Hi all,
we are in the learning process here and i am working on Slowly Changing Dimensions. The question i have is; can you have more than one designated "Logical Key" field in a table? We are loading targets to a MySQL db using some of our previously existing db tables as the intial source, and carrying over exisitng columns, including exisitng Surrogate key fields for historical purposes. However, as the ongoing flow process, we are loading these dimension tables as SCD; but some of these tables do not have one unique identifier per unit. Instead, they are unique when a combination of fields are considered - this is where i was looking to make them Logical Key fields. Do i have to create a Unique ID based on these fields to then use?

thanks
Jamie


WebFocus Developer Studio v. 7610
MySQL/Linux
All different outputs including map technology and using the DMC for our ETL process as well
 
Posts: 13 | Registered: April 28, 2009Reply With QuoteReport This Post
Member
posted Hide Post
hi,

we can have two column as logical key field for the target table...

target table can have one surrogative key field...

the two logical key field can be set as keys also..

its working fine..


thanks.

thenmozhi
 
Posts: 8 | Registered: September 30, 2008Reply With QuoteReport This Post
Member
posted Hide Post
thanks for the response - we are trying to set multiple fields (4) as logical keys; but i don't know if this is acceptable and can not find any documentation - the combination of these fields should make a record unique - also,how could a logical key field be set as a surrogate key when the SCD type for surrogate has to be blank?


WebFocus Developer Studio v. 7610
MySQL/Linux
All different outputs including map technology and using the DMC for our ETL process as well
 
Posts: 13 | Registered: April 28, 2009Reply With QuoteReport This Post
Member
posted Hide Post
hi,

a blank value of scd type identifies permanent column, that one does not updated, if its the key column, then its is treated as surrogative key, and each inserted row automatically gets a new value increment plus one for each row.

for the field with balnk vlaue no need for any mapping.. its increment automatic..

the logical key field is the key or keys that uniquely identify a row..

so any number of logical key field can be set and that can set as keys also that uniquely identify the row..

its working fine..

thanks,

thenmozhi.
 
Posts: 8 | Registered: September 30, 2008Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  iWay Software Product Forum on Focal Point    Multiple "Logical Key" fields

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.