Advertisement
Guest User

Untitled

a guest
Jul 18th, 2019
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.75 KB | None | 0 0
  1. REPLACE VIEW SEMSIT_EDW_VIEWS.OPRTUNY_DESC ( Desc_Cd,Desc_Grp_Cd,Desc_Role_Type_Cd,Oprtuny_Desc_Start_Dttm,Oprtuny_Desc_End_Dttm,Desc_Amt,Desc_Curr_Amt,Desc_Qty,Desc_Cnt,Desc_Pct,Desc_Dt,Desc_Rate,Desc_Tm,Desc_Dttm,Desc_Val_Cd,Desc_Txt,Uom_Cd,Oprtuny_Id ) AS
  2. LOCKING ROW
  3. ACCESS
  4. SELECT od.Desc_Cd (VARCHAR(50), NAMED Desc_Cd, TITLE 'Descriptor Cd')
  5. , od.Desc_Grp_Cd (VARCHAR(20), NAMED Desc_Grp_Cd, TITLE 'Descriptor Group Cd')
  6. , od.Desc_Role_Type_Cd (CHAR(20), NAMED Desc_Role_Type_Cd, TITLE 'Descriptor Role Type Cd')
  7. , od.Oprtuny_Desc_Start_Dttm (TIMESTAMP(0), NAMED Oprtuny_Desc_Start_Dttm, TITLE 'Opportunity Descriptor Start Dttm')
  8. , od.Oprtuny_Desc_End_Dttm (TIMESTAMP(0), NAMED Oprtuny_Desc_End_Dttm, TITLE 'Opportunity Descriptor End Dttm')
  9. , od.Desc_Amt (DECIMAL(18,4), NAMED Desc_Amt, TITLE 'Descriptor Amt')
  10. , od.Desc_Curr_Amt (DECIMAL(18,4), NAMED Desc_Curr_Amt, TITLE 'Descriptor Currency Amt')
  11. , od.Desc_Qty (DECIMAL(18,4), NAMED Desc_Qty, TITLE 'Descriptor Qty')
  12. , od.Desc_Cnt (INTEGER, NAMED Desc_Cnt, TITLE 'Descriptor Cnt')
  13. , od.Desc_Pct (DECIMAL(9,4), NAMED Desc_Pct, TITLE 'Descriptor Pct')
  14. , od.Desc_Dt (DATE, NAMED Desc_Dt, TITLE 'Descriptor Dt')
  15. , od.Desc_Rate (DECIMAL(22,18), NAMED Desc_Rate, TITLE 'Descriptor Rate')
  16. , od.Desc_Tm (TIMESTAMP(0), NAMED Desc_Tm, TITLE 'Descriptor Tm')
  17. , od.Desc_Dttm (TIMESTAMP(0), NAMED Desc_Dttm, TITLE 'Descriptor Dttm')
  18. , od.Desc_Val_Cd (CHAR(20), NAMED Desc_Val_Cd, TITLE 'Descriptor Value Cd')
  19. , od.Desc_Txt (VARCHAR(1000), NAMED Desc_Txt, TITLE 'Descriptor Txt')
  20. , od.Uom_Cd (CHAR(20), NAMED Uom_Cd, TITLE 'UOM Cd')
  21. , od.Oprtuny_Id (INTEGER, NAMED Oprtuny_Id, TITLE 'Opportunity Id')
  22. FROM SEMSIT_EDW_VODACOM.OPRTUNY_DESC od;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement