{"id":16,"date":"2007-10-20T19:45:14","date_gmt":"2007-10-20T10:45:14","guid":{"rendered":"http:\/\/hmp.lar.jp\/wordpress\/?p=16"},"modified":"2016-12-03T22:27:39","modified_gmt":"2016-12-03T13:27:39","slug":"%e3%81%aa%e3%81%a7%e3%81%97%e3%81%93%e3%81%a7rdb-sqlserver2005express","status":"publish","type":"post","link":"https:\/\/www.choco.org.uk\/chocodb\/?p=16","title":{"rendered":"\u306a\u3067\u3057\u3053\u3067RDB SQLServerExpress"},"content":{"rendered":"<p>2005Express\u304b\u3089\u59cb\u3081\u3066\u3001\u3082\u3046\u4f55\u5e74\u7d4c\u3063\u3066\u308b\u3093\u3060\u3088\u3063\u3066\u611f\u3058\u3067\u3059\uff3e\uff3e\uff1b<br \/>\n\u73fe\u5728\u306f2014Express\u304c\u51fa\u3066\u307e\u3059\u304c\u3001Windows\u30d1\u30bd\u30b3\u30f3\u306a\u3089\u6a19\u6e96\u3067ODBC\u3092\u6301\u3063\u3066\u3044\u308b\u306e\u3067\u958b\u767a\u304c\u697d\u3067\u3059\u306d\u3002<br \/>\n\uff08\u65b0\u305f\u306bODBC\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u5fc5\u8981\u304c\u7121\u3044\u306e\u3067\u3002\uff09<\/p>\n<p>Express\u7248\uff08\u7121\u6599\u7248\uff09\u3068\u6709\u6599\u7248\u306f\u5fae\u5999\u306b\u66f8\u304d\u65b9\u304c\u7570\u306a\u308b\u306e\u3067\u6ce8\u610f\u3067\u3059\u3002<br \/>\n\uff08\u6709\u6599\u7248\u306f\u30b9\u30ad\u30fc\u30de\u3082\u8a18\u8ff0\u3059\u308b\uff09<\/p>\n<p>\u6614\u3005\u306e\u3053\u3044\u3064\u306f\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3068\u8a2d\u5b9a\u304c\u5384\u4ecb\u3067\u3057\u305f\uff08\u904e\u53bb\u5f62\uff09<br \/>\n\u307e\u3060\u51fa\u59cb\u3081\u306b\u3001\u5ba2\u5148\u306b\u7d0d\u54c1\u3057\u305f\u3089\u5927\u5909\u3067\u3057\u305f\u3088\uff08\uff34\uff34\uff09<\/p>\n<p>\uff11\uff0eRDB\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/p>\n<p>\u307e\u305aPC\u306e\u30e1\u30e2\u30ea\u3092\uff11\uff27\uff22\u4ee5\u4e0a\u306b\u3057\u307e\u3057\u3087\u3046\u3002\uff08\u305d\u3093\u306a\uff30\uff23\u306f\u58f2\u3063\u3066\u306a\u3044\u3060\u308d\u3068\u7a81\u3063\u8fbc\u307f\u306f\u7121\u3057\u3067\uff09<br \/>\n\u305d\u3046\u3057\u306a\u3044\u3068\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u30fc\u306b\u6012\u3089\u308c\u308b\u4e8b\u304c\u307e\u307e\u3042\u308b\u306e\u3067\u3059\u3002<br \/>\n\u3042\u3068\u3001\u30ec\u30dd\u30fc\u30c6\u30a3\u30f3\u30b0\u30b5\u30fc\u30d3\u30b9\u7b49\u3092\u5229\u7528\u3059\u308b\u306e\u3067\u3042\u308c\u3070\u3001IIS\uff08\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u30a4\u30f3\u30d5\u30a9\u30e1\u30fc\u30b7\u30e7\u30f3\u30b5\u30fc\u30d3\u30b9\uff09\u304c\u5fc5\u9808\u3067\u3059\u3002<br \/>\n\uff24\uff22\u672c\u4f53\u3060\u3051\u306e\u5229\u7528\u3067\u3042\u308c\u3070\u4e0d\u8981\u3067\u3059\u3002<br \/>\n\u3064\u3044\u3067\u306b\uff0e\uff2e\uff25\uff34\u3082\u3002\u3068\u306b\u304b\u304f\u3001\u3053\u3044\u3064\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u70ba\u306b\u5165\u308c\u308b\u30bd\u30d5\u30c8\u304c\u591a\u304f\u3066\u3001\u306a\u3067\u3057\u3053\u304b\u3089\u3084\u308b\u6c17\u304c\u5931\u305b\u307e\u3059\u3002<br \/>\n\uff08\u3053\u306e\u8fba\u306f\u30012015\u5e74\u73fe\u5728\u3067\u3082\u9762\u5012\u3067\u3059\u3002\uff09<\/p>\n<p>SQL Server\u306f\u3001\u4e8c\u7a2e\u985e\u306e\u63a5\u7d9a\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\uff11\uff0e\u4fe1\u983c\u6027\u63a5\u7d9a\uff08\u30ed\u30fc\u30ab\u30eb\u63a5\u7d9a\uff09<\/p>\n<p><del datetime=\"2015-10-02T07:27:11+00:00\">ODBC\u63a5\u7d9a\u3068\u540c\u3058\u3067\u3001\u63a5\u7d9a\u6587\u5b57\u5217\u3067ADO\u958b\u304f\u3067\u3059\u3002<\/del><br \/>\n!\u63a5\u7d9a\u6587\u5b57\u5217 = \u300eDriver={SQL Server};server=.\\SQLExpress;database=\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u540d;\u300f\/\/\u30ed\u30fc\u30ab\u30eb\u74b0\u5883<br \/>\n\u30b5\u30fc\u30d0\u30fc\u3068\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u304c\u5225\u3005\u306e\u6a5f\u5668\u3067\u306a\u3051\u308c\u3070\u3001\u3053\u308c\u3067\u3082\u3044\u3044\u3067\u3059\u306d\u3002<\/p>\n<p>HND = \u63a5\u7d9a\u6587\u5b57\u5217\u3067ADO\u958b\u304f<br \/>\nHND\u306b\u300cselect * from aaaa;\u300d\u3092SQL\u5b9f\u884c<br \/>\nDB\u7d50\u679c\u5168\u90e8\u53d6\u5f97\u3057\u3066\uff21\u306b\u4ee3\u5165<br \/>\nHND\u3092DB\u9589\u3058\u308b\u3002<br \/>\n\uff21\u3092\u8a00\u3046\u3002<\/p>\n<p>\uff12\uff0eSQL Server\u63a5\u7d9a<\/p>\n<p>#\u25a0SQL Native Client\u3067\u63a5\u7d9a\u3057\u305f\u6642\u306e\u8a18\u8ff0\u25a0<\/p>\n<p>\u300eDriver={SQL Native Client};<br \/>\nserver=\u30db\u30b9\u30c8\u540d;<br \/>\ndatabase=\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u540d;<br \/>\nuid=\uff29\uff24; pwd=\u30d1\u30b9\u30ef\u30fc\u30c9;\u300f\u3067ADO\u958b\u304f<br \/>\n\u300cselect * from ABC;\u300d\u3092SQL\u5b9f\u884c<br \/>\nDB\u7d50\u679c\u5168\u90e8\u53d6\u5f97\u3057\u3066\uff21\u306b\u4ee3\u5165<br \/>\nDB\u9589\u3058\u308b\u3002<br \/>\n\uff21\u3092\u8a00\u3046\u3002<br \/>\n\u7d42\u308f\u308b\u3002<\/p>\n<p>#\u25a0SQL Server\u3067\u63a5\u7d9a\u3057\u305f\u6642\u306e\u8a18\u8ff0\u25a0<\/p>\n<p>\u300eDriver={SQL Server};<br \/>\nserver=\u30db\u30b9\u30c8\u540d;<br \/>\ndatabase=\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u540d;<br \/>\nuid=\uff29\uff24; pwd=\u30d1\u30b9\u30ef\u30fc\u30c9;\u300f\u3067ADO\u958b\u304f<br \/>\n\u300cselect * from ABC;\u300d\u3092SQL\u5b9f\u884c<br \/>\nDB\u7d50\u679c\u5168\u90e8\u53d6\u5f97\u3057\u3066\uff21\u306b\u4ee3\u5165<br \/>\nDB\u9589\u3058\u308b\u3002<br \/>\n\uff21\u3092\u8a00\u3046\u3002<br \/>\n\u7d42\u308f\u308b\u3002<\/p>\n<p>\uff12\uff0d\uff11\uff0e\u306a\u3067\u3057\u3053\u306e\u3010SQLServer2005\u958b\u304f\u3011\u547d\u4ee4\u306b\u3088\u308b\u63a5\u7d9a\u4f8b<\/p>\n<p>DB\u30e6\u30fc\u30b6\u30fcID=\u300c\uff11\uff12\uff13\u300d<br \/>\nDB\u30d1\u30b9\u30ef\u30fc\u30c9=\u300cABC\u300d<br \/>\n\u300cXXX\uffe5SQLEXPRESS\u300d\u306e\u300cDB\u540d\u300d\u3067\u00a0SQLServer2005\u958b\u304f<br \/>\nDB\u9589\u3058\u308b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>2005Express\u304b\u3089\u59cb\u3081\u3066\u3001\u3082\u3046\u4f55\u5e74\u7d4c\u3063\u3066\u308b\u3093\u3060\u3088\u3063\u3066\u611f\u3058\u3067\u3059\uff3e\uff3e\uff1b \u73fe\u5728\u306f2014Express\u304c\u51fa\u3066\u307e\u3059\u304c\u3001Windows\u30d1\u30bd\u30b3\u30f3\u306a\u3089\u6a19\u6e96\u3067ODBC\u3092\u6301\u3063\u3066\u3044\u308b\u306e\u3067\u958b\u767a\u304c\u697d\u3067\u3059\u306d\u3002 \uff08\u65b0\u305f\u306bODBC\u3092\u30c0\u30a6\u30f3\u30ed\u30fc [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[26,9],"tags":[62,96],"class_list":["post-16","post","type-post","status-publish","format-standard","hentry","category-rdb","category-sql-server","tag-62","tag-96"],"_links":{"self":[{"href":"https:\/\/www.choco.org.uk\/chocodb\/index.php?rest_route=\/wp\/v2\/posts\/16","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.choco.org.uk\/chocodb\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.choco.org.uk\/chocodb\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.choco.org.uk\/chocodb\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.choco.org.uk\/chocodb\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=16"}],"version-history":[{"count":4,"href":"https:\/\/www.choco.org.uk\/chocodb\/index.php?rest_route=\/wp\/v2\/posts\/16\/revisions"}],"predecessor-version":[{"id":657,"href":"https:\/\/www.choco.org.uk\/chocodb\/index.php?rest_route=\/wp\/v2\/posts\/16\/revisions\/657"}],"wp:attachment":[{"href":"https:\/\/www.choco.org.uk\/chocodb\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=16"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.choco.org.uk\/chocodb\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=16"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.choco.org.uk\/chocodb\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=16"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}