Please consider the environment before printing this Page. Go Eco.
Powered by MaxBlogPress 
Home » Siebel Configuration

Difference in Coulmn length of Custom Foreign Key Columns and Destinations

4 September 2009 196 views 2 Comments



We are adding a new tag “Siebel Best Practice” for our readers, which will cover Siebel best practice for all categories. Presenting first article in this series.

Custom Foreign Key Columns Differ in Length from Destinations
Custom Foreign Keys do not have the same length as the destination columns to which they are joined.

Impacted space
Data Integrity, Runtime Error

Significance
Assume that two columns used in a join are defined as follows:
• TABLE_A.COLUMN_A Varchar(15)
• TABLE_B.COLUMN_B Varchar(50)

If not used carefully, a value could be placed in COLUMN_B that was longer than 15 characters. When a join is performed between TABLE_A and TABLE_B, such a record will cause a run-time error in the mobile client indicating “Right truncation of string data”.

This can often occur when columns are used for more than one purpose, as in the case of _XM table, where a column might be used as a CFK in one entity type, but is made to represent some other type of data for a different entity type.

Suggestion
Ensure that both columns used in a custom join have the same underlying size defined on the column definition.

Let us know what is your opinion about this initaitve of Siebel Best Practice tag.Leave your comment below.

SocialTwist Tell-a-Friend

Related posts:

  1. Text Length Override User Property Text Length Override is a Field User Property and is...
  2. Reusing Tables versus Creating a New Table Definition Sometime we have to go for creating a custom business...
  3. Denormalized Columns in Siebel Siebel uses Denormalized Columns to improve the performance of query...
  4. Account Data Load Let us discuss the account load in the Siebel through...
  5. Account Child Entities Data Load In last article we have discussed about the Account Data...

Related posts brought to you by Yet Another Related Posts Plugin.

Your Ad Here

Your Ad Here
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

2 Comments »

  • Paul Nilson said:

    Its good to see best practice tag in website. That will help to improve performance and other confilcts in implementation

    Thanks,
    Paul

  • Ashish Kumar
    Ashish Kumar said:

    Thanks Paul,
    We will keep posting best practices in regular interval. happy reading

    Regards,
    Ashish

Leave your response!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <font color="" face="" size=""> <span style="">

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.