Fanadia_Friska

SQL ADD

Sep 15th, 2016
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.53 KB | None | 0 0
  1. --m_region_customer
  2. INSERT INTO m_region_customer(
  3. region_customer_id, tenant_id, region_id,
  4. customer_id, create_datetime, create_user_id,
  5. update_datetime, update_user_id, version )
  6.  
  7. VALUES (1,23,15000002,
  8. 16000011,'20160802000000',-2,
  9. '20160902000000',-2,0),
  10.  
  11.  
  12. (2,23,15000003,
  13. 16000012,'20160802000000',-3,
  14. '20160902000000',-3,0),
  15.  
  16.  
  17. (3,23,15000004,
  18. 16000013,'20160802000000',-4,
  19. '20160902000000',-4,0),
  20.  
  21. (4,23,15000005,
  22. 16000014,'20160802000000',-5,
  23. '20160902000000', -5, 0),
  24.  
  25. (5,23,15000006,
  26. 16000015,'20160802000000',-6,
  27. '20160902000000', -6, 0),
  28.  
  29. (6,23,15000007,
  30. 16000016,'20160802000000',-7,
  31. '20160902000000', -7, 0),
  32.  
  33. (7,23,15000008,
  34. 16000017,'20160802000000',-8,
  35. '20160902000000', -8, 0);
  36.  
  37.  
  38.  
  39.  
  40.  
  41. --m_region
  42.  
  43. INSERT INTO m_region(
  44. region_id , tenant_id , ou_id ,
  45. region_code , region_name , create_datetime ,
  46. create_user_id , update_datetime , update_user_id ,
  47. version , active , active_datetime ,
  48. non_active_datetime )
  49.  
  50. VALUES ( 15000002,23,15000004,
  51. '1','SUMATERA','20160902000000',
  52. -2,'20160902000000','-2',
  53. 0,'Y','20160902000000',
  54. '20160902000000' ),
  55.  
  56. ( 15000003,23,15000005,
  57. '2','JAWA','20160902000000',
  58. -3,'20160902000000','-3',
  59. 0,'Y','20160902000000',
  60. '20160902000000' ),
  61.  
  62. ( 15000004,23,15000005,
  63. '3','KALIMANTAN','20160902000000',
  64. -4,'20160902000000','-4',
  65. 0,'Y','20160902000000',
  66. '20160902000000' );
  67.  
  68.  
  69.  
  70. --m_partner
  71.  
  72. INSERT INTO m_partner(
  73. partner_id, tenant_id, partner_code,
  74. partner_name, ctgr_partner_id, partner_ext_name,
  75. npwp_id, holding_id, flg_holding,
  76. rank, create_datetime, create_user_id,
  77. update_datetime, update_user_id, version,
  78. active, active_datetime, non_active_datetime,
  79. line_of_business, price_level, industry_type,
  80. npwp_status )
  81.  
  82. VALUES (101,23,'JKT',
  83. 'JAKARTA',1000001,'JAKARTA',
  84. -99,-99,'N',
  85. 'G','20160918000000',-1,
  86. '20160918000000',-1,0,
  87. 'Y','20160918000000','20170918000000',
  88. '1','100','A',
  89. '01'),
  90.  
  91. (102,23,'BDG',
  92. 'BANDUNG',1000002,'BANDUNG',
  93. -99,-99,'N',
  94. 'A','20160918000000',-2,
  95. '20160918000000',-1,0,
  96. 'Y','20160918000000','20160918000000',
  97. '2','200','B',
  98. '02'),
  99.  
  100. (103,23,'BL',
  101. 'BALI',1000003,'BALI',
  102. -99,-99,'N',
  103. 'B','20160918000000',-3,
  104. '20160918000000',-1,0,
  105. 'Y','20160918000000','20160918000000',
  106. '3','300','C',
  107. '03');
Advertisement
Add Comment
Please, Sign In to add comment