Results 1 to 5 of 5
  1. #1
    Join Date
    Aug 2011

    Unanswered: Join Query - Urgent!!!

    Lookup into DIM_MERCHANDISING table with the MERCHANDISING_ID and fetch the corresponding DEPT_NUMBER and then lookup into the DIM_SEGMENT table with SEGMENT_NUM = DEPT_NUMBER and retrieve the SEGMENT_ID
    need join qyery for the above transformation..

    input table = fact_sales
    input column=MERCHANDISING_ID from fact_sales

  2. #2
    Join Date
    Jan 2003
    Provided Answers: 5
    How about supplying the DDL for the tables and what you want the query to return?


  3. #3
    Join Date
    Aug 2001
    Sanjeev, Do you understand that it is sort of rude to mention the word "Urgent" in a public, free forum.

    It gets even worse.. It appears that you have not tried to find a solution . Rather you have posted the requirement here expecting an "Urgent" response!

    Of course, you can ask newbie basic questions , as long as you have tried! An example here :
    Visit the new-look IDUG Website , register to gain access to the excellent content.

  4. #4
    Join Date
    Aug 2011


    Urgent does not means dat i dint try it. I tried it but i dint end up with the required solution.Anyways thanks for your suggestion..

  5. #5
    Join Date
    Apr 2006
    Provided Answers: 11
    so, can you publish what already has been done as query/join, so we can build on top of this - or correct something ..
    Best Regards, Guy Przytula
    Database Software Consultant
    Good DBAs are not formed in a week or a month. They are created little by little, day by day. Protracted and patient effort is needed to develop good DBAs.
    Spoon feeding : To treat (another) in a way that discourages independent thought or action, as by overindulgence.
    DB2 UDB LUW Certified V7-V8-V9-V9.7-V10.1-V10.5 DB Admin - Advanced DBA -Dprop..
    Information Server Datastage Certified

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts