{"id":373,"date":"2012-10-20T13:22:07","date_gmt":"2012-10-20T04:22:07","guid":{"rendered":"http:\/\/sorceryforce.net\/WordPress\/?p=373"},"modified":"2012-10-20T13:22:07","modified_gmt":"2012-10-20T04:22:07","slug":"ssis-excel-%e3%81%8b%e3%82%89%e5%9e%8b%e6%83%85%e5%a0%b1%e3%82%92%e6%84%8f%e8%ad%98%e3%81%9b%e3%81%9a%e3%81%ab%e7%a2%ba%e5%ae%9f%e3%81%ab%e8%aa%ad%e3%81%bf%e8%be%bc%e3%82%80%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/blog.sorceryforce.net\/?p=373","title":{"rendered":"[SSIS] Excel \u304b\u3089\u578b\u60c5\u5831\u3092\u610f\u8b58\u305b\u305a\u306b\u78ba\u5b9f\u306b\u8aad\u307f\u8fbc\u3080\u65b9\u6cd5"},"content":{"rendered":"<p>\t\t\t\t<![CDATA[\n\n<h2>\u74b0\u5883<\/h2>\n\n  \n\n<p>SQL Server 2005, 2008, 2008 R2<\/p>\n\n  \n\n<h2>\u767a\u751f\u3059\u308b\u554f\u984c<\/h2>\n\n  \n\n<p>SSIS (SQL Server Integration Services) \u306e \u30c7\u30fc\u30bf\u30af\u30ed\u30fc\u304b\u3089\u300cExcel \u30bd\u30fc\u30b9\u300d\u3092\u4f7f\u7528\u3059\u308b\u3068 Excel \u30d5\u30a1\u30a4\u30eb\u304b\u3089\u30c7\u30fc\u30bf\u3092\u53d6\u308a\u8fbc\u3080\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002Excel \u306e\u4e2d\u8eab\u304c\u30d8\u30c3\u30c0\uff11\u884c\u3068\uff12\u884c\u76ee\u4ee5\u964d\u304c\u30c7\u30fc\u30bf\u3068\u3044\u3046\u4e00\u822c\u7684\u306a\u30c6\u30fc\u30d6\u30eb\u30ec\u30a4\u30a2\u30a6\u30c8\u3067\u3042\u308c\u3070\u3001\u305d\u306e\u307e\u307e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u53d6\u308a\u8fbc\u3081\u308b\u306e\u3067\u7d50\u69cb\u4fbf\u5229\u3067\u3059\u3002<\/p>\n\n  \n\n<p>\u3057\u304b\u3057\u3001\u5b9f\u969b\u306b\u4f7f\u3063\u305f\u3053\u3068\u304c\u3042\u308b\u65b9\u306f\u7d4c\u9a13\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u304c\u591a\u3044\u3068\u601d\u3044\u307e\u3059\u304c\u3001Excel \u306e\u30c7\u30fc\u30bf\u306e\u4e2d\u8eab\u304c\u5909\u308f\u308b\u3068\u3001SSIS \u30c7\u30b6\u30a4\u30ca\u4e0a\u3067\u306a\u305c\u304b\u578b\u304c\u4e00\u81f4\u3057\u306a\u3044\u3068\u3044\u3046\u8b66\u544a\u304c\u51fa\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u4e00\u5ea6\u8a73\u7d30\u3092\u958b\u3044\u3066\u66f4\u65b0\u3059\u308c\u3070\u3082\u3068\u306b\u623b\u308a\u307e\u3059\u304c\u3001Excel \u306e\u4e2d\u306e\u30c7\u30fc\u30bf\u304c\u5909\u308f\u308b\u3068\u307e\u305f\u8b66\u544a\u304c\u3067\u308b\u3001\u306e\u7e70\u308a\u8fd4\u3057\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n  \n\n<p>\u307e\u305f\u3001\u5834\u5408\u306b\u3088\u3063\u3066\u306f Excel \u306e\u4e2d\u306b\u306f\u304d\u3061\u3093\u3068\u30c7\u30fc\u30bf\u304c\u3042\u308b\u306b\u3082\u95a2\u308f\u3089\u305a\u3001\u5b9f\u969b\u306b\u8aad\u307f\u8fbc\u3093\u3067\u307f\u308b\u3068 null \u3067\u8aad\u307f\u8fbc\u307e\u308c\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n  \n\n<p>\u3053\u308c\u3089\u306e\u73fe\u8c61\u306f SSIS \u306e\u554f\u984c\u3067\u306f\u306a\u304f\u3001SSIS \u304c Excel \u306e\u8aad\u307f\u8fbc\u307f\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3068\u3057\u3066\u4f7f\u7528\u3057\u3066\u3044\u308b\u300cExcel ISAM \u30c9\u30e9\u30a4\u30d0\u300d\u306e\u4ed5\u69d8\u306e\u554f\u984c\u3067\u767a\u751f\u3057\u307e\u3059\u3002\u3053\u308c\u306f\u300cMicrosoft Jet 4.0 OLE DB Provider\u300d\u3067\u3082\u300cMicrosoft Office 12.0 Access Database Engine OLE DB Provider\u300d\u3067\u3082\u540c\u69d8\u3067\u3059\u3002<\/p>\n\n  \n\n<p>\u3053\u306e\u30c9\u30e9\u30a4\u30d0\u304c\u4f55\u3092\u3057\u3066\u3044\u308b\u304b\u3068\u3044\u3046\u3068\u3001\u30c7\u30fc\u30bf\u3092\u8aad\u307f\u8fbc\u3080\u969b\u306b\u308f\u3056\u308f\u3056\u578b\u6307\u5b9a\u3057\u3066\u8aad\u307f\u8fbc\u307e\u306a\u304f\u3066\u3082\u3001Excel \u306e\u4e2d\u8eab\u3092\u898b\u3066\u81ea\u52d5\u7684\u306b\u578b\u3092\u5224\u5225\u3057\u3066\u304f\u308c\u308b\u3068\u3044\u3046\u4fbf\u5229\u305d\u3046\u306a\u51e6\u7406\u3092\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u305d\u306e\u4ee3\u308a\u3001\u30c7\u30fc\u30bf\u306e\u4e2d\u8eab\u306e\u578b\u304c\u3053\u308d\u3053\u308d\u5909\u308f\u308b\u3068\u8aad\u307f\u8fbc\u3080\u969b\u306e\u578b\u60c5\u5831\u3082\u5909\u308f\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u3002\u305d\u306e\u305f\u3081\u3001SSIS \u4e0a\u306e\u30c7\u30b6\u30a4\u30ca\u3067\u3082\u3001\u4e8b\u524d\u306b\u578b\u3092\u6c7a\u5b9a\u3057\u3066\u3044\u308b\u306b\u3082\u304b\u304b\u308f\u3089\u305a\u3001Excel \u306e\u4e2d\u8eab\u306e\u578b\u304c\u5909\u308f\u3063\u3066\u3057\u307e\u3046\u3053\u3068\u306b\u3088\u3063\u3066\u578b\u304c\u4e0d\u4e00\u81f4\u3067\u3042\u308b\u3068\u3044\u3046\u8b66\u544a\u304c\u8868\u793a\u3055\u308c\u308b\u306e\u3067\u3059\u3002<\/p>\n\n  \n\n<p>\u3053\u306e\u3042\u305f\u308a\u306e\u4f7f\u7528\u306f\u4e0b\u8a18\u306e\u30b5\u30a4\u30c8\u3092\u307f\u308b\u3068\u308f\u304b\u308a\u3084\u3059\u3044\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n  \n\n<ul>   \n\n<li><a href=\"http:\/\/support.microsoft.com\/kb\/194124\/ja\">[PRB] DAO \u306e OpenRecordset \u3092\u4f7f\u7528\u3059\u308b\u3068 Excel \u306e\u5024\u3068\u3057\u3066 NULL \u304c\u8fd4\u3055\u308c\u308b<\/a><\/li>\n\n <\/ul>\n\n  \n\n<p>\u7c21\u5358\u306b\u307e\u3068\u3081\u308b\u3068\u3001Excel \u306e\u4e0a\u4f4d\uff18\u884c\u3092\u8aad\u307f\u8fbc\u307f\u3001\u305d\u306e\u5217\u3067\u6700\u3082\u591a\u3044\u578b\u3092\u8aad\u307f\u8fbc\u3080\u578b\u3068\u3057\u3066\u4f7f\u7528\u3059\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u4f8b\u3048\u3070\uff18\u884c\u5185\u306b\u3001\u6587\u5b57\u5217\u304c\uff13\u3064\u3001\u6570\u5024\u304c\uff15\u3064\u3042\u308c\u3070\u305d\u306e\u5217\u306f\u300c\u6570\u5024\u578b\u300d\u306b\u306a\u308a\u307e\u3059\u3002\u9006\u306b\u6587\u5b57\u5217\u304c\uff16\u3064\u3001\u6570\u5024\u304c\uff12\u3064\u3067\u3042\u308c\u3070\u305d\u306e\u5217\u306f\u300c\u30c6\u30ad\u30b9\u30c8\u578b\u300d\u306b\u306a\u308a\u307e\u3059\u3002\u540c\u3058\u500b\u6570\u306e\u5834\u5408\u306f\u300c\u6570\u5024\u578b\u300d\u304c\u512a\u5148\u3055\u308c\u307e\u3059\u3002<\/p>\n\n  \n\n<p>\u3061\u306a\u307f\u306b SSIS \u3067\u8aac\u660e\u3057\u3066\u3044\u307e\u3059\u304c\u3001ISAM \u30c9\u30e9\u30a4\u30d0\u30fc\u306e\u554f\u984c\u306a\u306e\u3067\u3001\u3053\u308c\u3092\u4f7f\u3046\u30d7\u30ed\u30b0\u30e9\u30e0\u306f\u3059\u3079\u3066\u540c\u3058\u554f\u984c\u3092\u62b1\u3048\u3066\u3044\u307e\u3059\u3002<\/p>\n\n  \n\n<h2>\u5bfe\u5fdc\u65b9\u6cd5<\/h2>\n\n  \n\n<p>\u3067\u306f\u3053\u308c\u3092\u78ba\u5b9f\u306b\u56de\u907f\u3059\u308b\u306b\u306f\u3069\u3046\u3059\u308c\u3070\u3044\u3044\u304b\u3068\u3044\u3046\u3068\u3001\u5c11\u3057\u624b\u3092\u8fbc\u3093\u3060\u3053\u3068\u3092\u3057\u306a\u3051\u308c\u3070\u3044\u3051\u307e\u305b\u3093\u3002<\/p>\n\n  \n\n<p>\u307e\u305a\u3001\u4eca\u56de\u306e\u5bfe\u5fdc\u65b9\u6cd5\u3068\u3057\u3066\u306f\u524d\u63d0\u6761\u4ef6\u3068\u3057\u3066\u3059\u3079\u3066\u306e\u5217\u3092\u6587\u5b57\u5217\u3068\u3057\u3066\u8aad\u307f\u8fbc\u307f\u307e\u3059\u3002\u3082\u3068\u3082\u3068\u6570\u5024\u306e\u5217\u3082\u6587\u5b57\u5217\u3068\u3057\u3066\u8aad\u307f\u8fbc\u3080\u306e\u3067\u3001\u8aad\u307f\u8fbc\u3093\u3060\u5f8c\u306f\u6570\u5024\u306b\u5909\u63db\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u308c\u306f\u81e8\u6a5f\u5fdc\u5909\u306b\u5bfe\u5fdc\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n  \n\n<p>ISAM\u30c9\u30e9\u30a4\u30d0\u30fc\u3067\u8aad\u307f\u8fbc\u3080\u969b\u3001\u300cIMEX\u300d\u3068\u3044\u3046\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3053\u308c\u306b\u300c1\u300d\u3092\u6307\u5b9a\u3059\u308b\u3068\u300c\u30a4\u30f3\u30dd\u30fc\u30c8 \u30e2\u30fc\u30c9\u300d\u306b\u306a\u308a\u3001\u8aad\u307f\u8fbc\u3080\u3059\u3079\u3066\u306e\u30c7\u30fc\u30bf\u304c\u30c6\u30ad\u30b9\u30c8\u306b\u306a\u308a\u307e\u3059\u3002\u305f\u3060\u3057\u3001Excel \u5185\u306e\u6307\u5b9a\u3057\u305f\u5217\u306e\u30c7\u30fc\u30bf\u304c\u3059\u3079\u3066\u6570\u5024\u306e\u5834\u5408\u306f\u6570\u5024\u306b\u306a\u3063\u3066\u3057\u307e\u3046\u306e\u3067\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u4e00\u3064\u3067\u3082\u6587\u5b57\u5217\u304c\u3042\u308c\u3070\u8aad\u307f\u8fbc\u3080\u578b\u306f\u6587\u5b57\u5217\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n  \n\n<p>IMEX \u30d1\u30e9\u30e1\u30fc\u30bf\u306f\u300c\u63a5\u7d9a\u6587\u5b57\u5217\u300d\u3067\u6307\u5b9a\u3057\u307e\u3059\u3002SSIS \u30c7\u30b6\u30a4\u30ca\u3067\u63a5\u7d9a\u6587\u5b57\u5217\u3092\u7de8\u96c6\u3059\u308b\u5834\u5408\u306f\u3001\u63a5\u7d9a\u30de\u30cd\u30fc\u30b8\u30e3\u30fc\u3067\u4f5c\u6210\u3057\u305f Exce \u30bd\u30fc\u30b9\u3092\u53f3\u30af\u30ea\u30c3\u30af\u3057\u3001\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u958b\u304d\u307e\u3059\u3002\u30d7\u30ed\u30d1\u30c6\u30a3\u30a8\u30ea\u30a2\u306b\u300cConnectionString\u300d\u3068\u3044\u3046\u9805\u76ee\u304c\u3042\u308a\u307e\u3059\u306e\u3067\u3001\u305d\u306e\u6587\u5b57\u5217\u3092\u76f4\u63a5\u7de8\u96c6\u3057\u307e\u3059\u3002GUI \u3067\u8a2d\u5b9a\u3059\u308b\u30d1\u30bf\u30fc\u30f3\u3082\u3042\u308a\u307e\u3059\u304c\u3001\u3053\u3061\u3089\u306f IMEX \u304c\u8a2d\u5b9a\u3067\u304d\u306a\u3044\u306e\u3067\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n  \n\n<p>IMEX \u30d1\u30e9\u30e1\u30fc\u30bf\u306f\u4e0b\u8a18\u306e\u3088\u3046\u306b\u8a2d\u5b9a\u3057\u307e\u3059\u3002\u4e00\u756a\u5f8c\u308d\u306b\u3042\u308b\u300cExtended Properties\u300d\u5185\u306b\u30bb\u30df\u30b3\u30ed\u30f3\u533a\u5207\u308a\u3067\u300cIMEX=1\u300d\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n\n  \n\n<ul>   \n\n<li>Provider=Microsoft.ACE.OLEDB.12.0; Data Source=C:Test.xlsx; Extended Properties=&quot;Excel 12.0; HDR=YES; IMEX=1;\u201d<\/li>\n\n <\/ul>\n\n  \n\n<p>\u63a5\u7d9a\u6587\u5b57\u5217\u306b\u3064\u3044\u3066\u306f<a href=\"https:\/\/blog.sorceryforce.net\/?p=154\">\u4ee5\u524d\u307e\u3068\u3081\u307e\u3057\u305f\u306e\u3067\u3053\u3061\u3089\u306e\u30da\u30fc\u30b8<\/a>\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n  \n\n<p>\u3055\u3066\u3001\u3053\u308c\u3067\u3059\u3079\u3066\u306e\u5217\u306f\u6587\u5b57\u5217\u3068\u3057\u3066\u8aad\u307f\u8fbc\u3081\u308b\u300c\u306f\u305a\u300d\u306a\u306e\u3067\u3059\u304c\u3001\u524d\u8ff0\u3057\u305f\u3068\u304a\u308a\u3001Excel \u306b\u3059\u3079\u3066\u6570\u5024\u304c\u5165\u529b\u3055\u308c\u3066\u3044\u305f\u5834\u5408\u3001\u307e\u305f\u306f\u4f55\u3082\u5165\u529b\u3055\u308c\u3066\u3044\u306a\u3044\u5834\u5408\u306f\u3069\u3046\u3057\u3066\u3082\u5217\u306e\u578b\u304c\u6570\u5024\u3068\u3057\u3066\u8aad\u307f\u8fbc\u307e\u308c\u3066\u3057\u307e\u3044\u307e\u3059\u3002\u3067\u3059\u306e\u3067\u3001Excel \u306e\uff11\u884c\u76ee\u304b\uff12\u884c\u76ee\u306b\u300c\uff11\u884c\u3059\u3079\u3066\u6587\u5b57\u5217\u3060\u3051\u3092\u5165\u529b\u3057\u305f\u884c\u300d\u3092\u5165\u308c\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002\u3053\u3046\u3059\u308c\u3070\u307b\u307c\u9593\u9055\u3044\u306a\u304f\u6587\u5b57\u5217\u3068\u3057\u3066\u8aad\u307f\u8fbc\u3081\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u8aad\u307f\u8fbc\u307f\u3082\u3068\u306e Excel \u30d5\u30a1\u30a4\u30eb\u306b\u3082\u3088\u308a\u307e\u3059\u304c\u3001\u30c6\u30ad\u30b9\u30c8\u884c\u3092\u4f5c\u3063\u3066\u305d\u306e\u884c\u3060\u3051\u975e\u8868\u793a\u306b\u3059\u308c\u3070\u7de8\u96c6\u4e0a\u306f\u554f\u984c\u306a\u3044\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n  \n\n<p>&#160;<\/p>\n\n  \n\n<p>\u307e\u3042\u3001\u500b\u4eba\u7684\u306b\u306f Excel \u3067\u8aad\u307f\u8fbc\u3080\u306e\u3067\u306f\u306a\u304f\u3001\u578b\u3092\u610f\u8b58\u3057\u306a\u3044 CSV \u30d5\u30a1\u30a4\u30eb\u306e\u307b\u3046\u304c\u3088\u304b\u3063\u305f\u308a\u3082\u3059\u308b\u3093\u3067\u3059\u3051\u3069\u306d\u3002Excel \u4e0a\u3067\u7de8\u96c6\u3059\u308b\u3068\u300c0000\u300d\u3068\u30c6\u30ad\u30b9\u30c8\u3068\u3057\u3066\u8cbc\u308a\u4ed8\u3051\u305f\u3064\u3082\u308a\u304c\u6570\u5024\u3068\u3057\u3066 0 \u306b\u306a\u3063\u3066\u3057\u307e\u3063\u3066\u3066\u6c17\u3065\u304b\u306a\u304b\u3063\u305f\u308a\u3068\u304b\u3042\u308b\u306e\u3067\u3002\u5b9f\u306f CSV \u3082 CSV \u3067\u30c0\u30d6\u30eb\u30af\u30a9\u30fc\u30c6\u30fc\u30b7\u30e7\u30f3\u306e\u30a8\u30b9\u30b1\u30fc\u30d7\u304c\u8003\u616e\u3055\u308c\u3066\u306a\u304b\u3063\u305f\u308a\u3068\u304b\u3044\u308d\u3044\u308d\u554f\u984c\u306f\u3042\u308a\u307e\u3059\u304c (^^;)<\/p>\n\n]]>\t\t<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\t\t\t\t<![CDATA[]]>\t\t<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[136,181,187,294,304,615,873,878],"class_list":["post-373","post","type-post","status-publish","format-standard","hentry","category-4","tag-excel","tag-imex","tag-isam","tag-sql-server","tag-ssis","tag-615","tag-873","tag-878"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/blog.sorceryforce.net\/index.php?rest_route=\/wp\/v2\/posts\/373"}],"collection":[{"href":"https:\/\/blog.sorceryforce.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.sorceryforce.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.sorceryforce.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.sorceryforce.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=373"}],"version-history":[{"count":0,"href":"https:\/\/blog.sorceryforce.net\/index.php?rest_route=\/wp\/v2\/posts\/373\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.sorceryforce.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=373"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.sorceryforce.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=373"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.sorceryforce.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=373"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}