Added: 1 year ago
From: bekwam
Views: 827
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (3)

Sign In or Sign Up now to post a comment!
  • In this MySQL target, the surrogate key is an auto_increment field. This would be the same for MS SQL Server.

    Oracle and Postgres uses a sequence (mysequence.NEXTVAL) to generate the surrogate key.

    In Oracle's case, it's possible to first retrieve a sequence and then apply it to more than one target. When using an auto_incr field, you'll need to retrieve the key by a query in the same transation to apply it elsewhere.

    Consider using a tMysqlOutput rather than a tMysqlRow .

  • hi, nice tutorial.but u didn't show how to generate surrogate key.

  • Be sure to check out bekwam.blogspot.com/2011/02/ta­lend-open-studio-date-dimensio­n-job.html for the date dimension

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more