{"id":111,"date":"2006-09-08T17:00:51","date_gmt":"2006-09-08T17:00:51","guid":{"rendered":"http:\/\/search.jason695.idv.tw:81\/wordpress\/?p=111"},"modified":"2008-05-30T17:50:11","modified_gmt":"2008-05-30T09:50:11","slug":"etl%e7%ad%86%e8%a8%98","status":"publish","type":"post","link":"https:\/\/jason695.why3s.tw\/wordpress\/2006\/09\/08\/etl%e7%ad%86%e8%a8%98\/","title":{"rendered":"ETL\u540d\u8a5e\u89e3\u91cb"},"content":{"rendered":"<p><strong>MT\/DIM<\/strong><\/p>\n<blockquote><p>DIM_CURRENT\/DIM_OLD\/DIM_TEMP<br \/>\nTRUNCATE tmp &#8211;> INNER JOIN\u6bd4\u5c0d,\u5982\u5b8c\u5168\u4e00\u6a23INSERT tmp<br \/>\n1&#8211;> \u4e0aEND DATE, UPDATE ( END_DATE IS NULL and _tmp no data )<br \/>\n2&#8211;> INSERT ( select _current and _tmp not exits )<\/p><\/blockquote>\n<p><strong>MT\/FCT<\/strong><\/p>\n<blockquote><p>\u4e32SK &#038; measure\u51fa\u4f86\u7684\u503c<\/p><\/blockquote>\n<p><strong>MT\/REF<\/strong><\/p>\n<blockquote><p>PK,\u90e8\u5206\u529f\u80fd\u540cDIM<\/p><\/blockquote>\n<p><strong>INIT<\/strong><\/p>\n<blockquote><p>\u5efa\u521d\u59cb @<\/p><\/blockquote>\n<p><strong>EL<\/strong><\/p>\n<blockquote><p>SP_EL_DIM_IMPORT.sql<br \/>\n&#8211;STEP 1: DROP COLUMN EXT_DATE<br \/>\n&#8211;STEP 2: EMPTY EL_TABLE<br \/>\n&#8211;STEP 3: CREATE  BULK INSERT STATEMENT<br \/>\n&#8211;STEP 4: EXECUTE BULK INSERT STATEMENT<br \/>\n&#8211;STEP 5: ADD COLUMN EXT_DATE<br \/>\n&#8211;STEP 6: UPDATE EXT_DATE<\/p>\n<p>\u8cc7\u6599\u63d0\u4f9b\uff1aBOP\\BOP_DW\\BI_TXT\\<br \/>\n\u81ea\u884c\u7522\u751f\uff1aBOP\\BOP_DW\\DIM_TXT\\<\/p><\/blockquote>\n<p><strong>DDL<\/strong><\/p>\n<blockquote><p>Creat Table<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>MT\/DIM DIM_CURRENT\/DIM_OLD\/DIM_TEMP TRUNCATE tmp &#038;#8211 &hellip; <a href=\"https:\/\/jason695.why3s.tw\/wordpress\/2006\/09\/08\/etl%e7%ad%86%e8%a8%98\/\" class=\"more-link\">\u95b1\u8b80\u5168\u6587 <span class=\"screen-reader-text\">ETL\u540d\u8a5e\u89e3\u91cb<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[37,5],"tags":[],"class_list":["post-111","post","type-post","status-publish","format-standard","hentry","category-informatica","category-5","no-featured-image"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/jason695.why3s.tw\/wordpress\/wp-json\/wp\/v2\/posts\/111","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jason695.why3s.tw\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jason695.why3s.tw\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jason695.why3s.tw\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jason695.why3s.tw\/wordpress\/wp-json\/wp\/v2\/comments?post=111"}],"version-history":[{"count":0,"href":"https:\/\/jason695.why3s.tw\/wordpress\/wp-json\/wp\/v2\/posts\/111\/revisions"}],"wp:attachment":[{"href":"https:\/\/jason695.why3s.tw\/wordpress\/wp-json\/wp\/v2\/media?parent=111"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jason695.why3s.tw\/wordpress\/wp-json\/wp\/v2\/categories?post=111"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jason695.why3s.tw\/wordpress\/wp-json\/wp\/v2\/tags?post=111"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}