{"id":6231,"date":"2017-09-20T08:28:49","date_gmt":"2017-09-19T23:28:49","guid":{"rendered":"http:\/\/excelwork.info\/excel\/?p=6231"},"modified":"2017-10-23T12:51:51","modified_gmt":"2017-10-23T03:51:51","slug":"adotransaction","status":"publish","type":"post","link":"https:\/\/excelwork.info\/excel\/adotransaction\/","title":{"rendered":"\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\uff08ADO\uff09BeginTrans\u3001CommitTrans\u3001RollbackTrans"},"content":{"rendered":"<h2>ADO \u3067\u306e\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u51e6\u7406<\/h2>\n<br \/>\n<div class=\"m30-l\">\n<div class=\"kkbox\"><strong>\u3010\u66f8\u5f0f\u3011<\/strong><br \/>\n    <br \/><br \/>\n    <em>Sub Sample_Transaction<\/em><\/p>\n<table style=\"border-style: none;\">\n<tr style=\"background-color:transparent;\">\n<td style=\"border-style: none;\"><\/td>\n<td style=\"border-style: none;\" width=\"300\" align=\"center\">\uff1c\uff1c\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u63a5\u7d9a\uff1e\uff1e\u3000\u3000\u3000\u3000\u3000\u3000<\/td>\n<td style=\"border-style: none;\"><\/td>\n<td style=\"border-style: none;\"><\/td>\n<\/tr>\n<tr style=\"background-color:transparent;\">\n<td style=\"border-style: none;\"><\/td>\n<td style=\"border-style: none;\"><strong>On Error GoTo ErrHandler<\/strong><\/td>\n<td style=\"border-style: none;color:blue;\">\u2026\u2026><\/td>\n<td style=\"border-style: none;color:blue;\">\u30a8\u30e9\u30fc\u30c8\u30e9\u30c3\u30d7\u958b\u59cb<\/td>\n<\/tr>\n<tr style=\"background-color:transparent;\">\n<td style=\"border-style: none;\"><\/td>\n<td style=\"border-style: none;\"><em>connection_object<\/em>.<strong>BeginTrans<\/strong><\/td>\n<td style=\"border-style: none;color:red;\">\u2026\u2026><\/td>\n<td style=\"border-style: none;color:red;\">\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u958b\u59cb<\/td>\n<\/tr>\n<tr style=\"background-color:transparent;\">\n<td style=\"border-style: none;\"><\/td>\n<td style=\"border-style: none;\" align = \"center\">\n\t  \u51e6\u7406\uff11\u3000\u3000\u3000\u3000\u3000\u3000<br \/>\n\t  \u51e6\u7406\uff12\u3000\u3000\u3000\u3000\u3000\u3000<br \/>\n\t  \u30fb\u3000\u3000\u3000\u3000\u3000\u3000<br \/>\n\t  \u30fb\u3000\u3000\u3000\u3000\u3000\u3000<br \/>\n\t  \u30fb\u3000\u3000\u3000\u3000\u3000\u3000<\/td>\n<td style=\"border-style: none;\"><\/td>\n<td style=\"border-style: none;\"><\/td>\n<\/tr>\n<tr style=\"background-color:transparent;\">\n<td style=\"border-style: none;\"><\/td>\n<td style=\"border-style: none;\"><em>connection_object<\/em>.<strong>CommitTrans<\/strong><\/td>\n<td style=\"border-style: none;color:red;\">\u2026\u2026><\/td>\n<td style=\"border-style: none;color:red;\">\u51e6\u7406\u306e\u78ba\u5b9a<\/td>\n<\/tr>\n<tr style=\"background-color:transparent;\">\n<td style=\"border-style: none;\"><\/td>\n<td style=\"border-style: none;\"><strong>On Error GoTo 0<\/strong><\/td>\n<td style=\"border-style: none;color:blue\">\u2026\u2026><\/td>\n<td style=\"border-style: none;color:blue\">\u30a8\u30e9\u30fc\u30c8\u30e9\u30c3\u30d7\u7d42\u4e86<\/td>\n<\/tr>\n<tr style=\"background-color:transparent;\" align=\"center\">\n<td style=\"border-style: none;\"><\/td>\n<td style=\"border-style: none;\">\uff1c\uff1c\u7d42\u4e86\u51e6\u7406\u7b49\uff1e\uff1e\u3000\u3000\u3000\u3000\u3000\u3000<\/td>\n<td style=\"border-style: none;\"><\/td>\n<td style=\"border-style: none;\"><\/td>\n<\/tr>\n<tr style=\"background-color:transparent;\">\n<td style=\"border-style: none;\"><\/td>\n<td style=\"border-style: none;\">\u3000\u3000<em>Exit Sub<\/em><\/td>\n<td style=\"border-style: none;\">\u2026\u2026><\/td>\n<td style=\"border-style: none;\">\u51e6\u7406\u304c\u6b63\u5e38\u306b\u884c\u308f\u308c\u305f\u5834\u5408\u306f\u7d42\u4e86<\/td>\n<\/tr>\n<tr style=\"background-color:transparent;\">\n<td style=\"border-style: none;\" colspan=\"2\"><strong>ErrHandler:<\/strong><\/td>\n<td style=\"border-style: none;\">\u2026\u2026><\/td>\n<td style=\"border-style: none;\">\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u305f\u6642\u3001\u3053\u3053\u307e\u3067\u79fb\u52d5<\/td>\n<\/tr>\n<tr style=\"background-color:transparent;\">\n<td style=\"border-style: none;\"><\/td>\n<td style=\"border-style: none;\"><em>connection_object<\/em>.<strong>RollbackTrans<\/strong><\/td>\n<td style=\"border-style: none;color:red;\">\u2026\u2026><\/td>\n<td style=\"border-style: none;color:red;\">\u3059\u3079\u3066\u306e\u51e6\u7406\u3092\u7834\u68c4\u3059\u308b<\/td>\n<\/tr>\n<tr style=\"background-color:transparent;\" align=\"center\">\n<td style=\"border-style: none;\"><\/td>\n<td style=\"border-style: none;\">\uff1c\uff1c\u7d42\u4e86\u51e6\u7406\u7b49\uff1e\uff1e\u3000\u3000\u3000\u3000\u3000\u3000<\/td>\n<td style=\"border-style: none;\"><\/td>\n<td style=\"border-style: none;\"><\/td>\n<\/tr>\n<\/table>\n<p>    <em>End Sub<\/em>\n  <\/div>\n<p>  \u3000\u203b connection_object \u2026\u2026 Connection \u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/p>\n<br \/><br \/>\n<h3 id=\"connection_begintrans\">BeginTrans \u30e1\u30bd\u30c3\u30c9<\/h3>\n<div class=\"kkbox\"><strong>\u3010\u66f8\u5f0f\u3011<\/strong><\/p>\n<p>    <em>object<\/em>.<strong>BeginTrans<\/strong><\/p><\/div>\n<br \/>\n<h4>\u5f15\u6570\u30fb\u623b\u308a\u5024<\/h4>\n<div class=\"m30-l\">\n<ul style=\"margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:0;\">\n<li>object&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u5bfe\u8c61\u3068\u306a\u308b <span class=\"red\"><strong>Connection \u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/strong><\/span>\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<li>\u623b\u308a\u5024&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u306e\u30cd\u30b9\u30c8\u306e\u30ec\u30d9\u30eb\u3092\u793a\u3059\u9577\u6574\u6570\u578b\uff08Long\uff09\u306e\u5024\u3002<\/li>\n<\/ul>\n<br \/>\n<p class=\"caution4\"><strong>BeginTrans \u30e1\u30bd\u30c3\u30c9<\/strong>\u3092\u547c\u3073\u51fa\u3059\u3068\u3001<a href=\"#connection_committrans\">CommitTrans \u30e1\u30bd\u30c3\u30c9<\/a> \u307e\u305f\u306f <a href=\"#connection_rollbacktrans\">RollbackTrans \u30e1\u30bd\u30c3\u30c9<\/a>\u3092\u547c\u3073\u51fa\u3057\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u3092\u7d42\u4e86\u3059\u308b\u307e\u3067\u3001\u5909\u66f4\u306f\u5b9f\u884c\u3055\u308c\u307e\u305b\u3093\u3002<\/p>\n<\/p><\/div>\n<br \/><br \/>\n<h3 id=\"connection_committrans\">CommitTrans \u30e1\u30bd\u30c3\u30c9<\/h3>\n<div class=\"kkbox\"><strong>\u3010\u66f8\u5f0f\u3011<\/strong><\/p>\n<p>    <em>object<\/em>.<strong>CommitTrans<\/strong><\/p><\/div>\n<br \/>\n<h4>CreateObject \u95a2\u6570<\/h4>\n<div class=\"m30-l\">\n<ul style=\"margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:0;\">\n<li>object&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u5bfe\u8c61\u3068\u306a\u308b <span class=\"red\"><strong>Connection \u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/strong><\/span>\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n<br \/>\n<p class=\"caution4\"><strong>CommitTrans \u30e1\u30bd\u30c3\u30c9<\/strong>\u3092\u547c\u3073\u51fa\u3059\u3068\u305d\u306e\u63a5\u7d9a\u4e0a\u3067\u958b\u3044\u3066\u3044\u308b\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u306b\u52a0\u3048\u305f\u5909\u66f4\u304c\u4fdd\u5b58\u3055\u308c\u3001\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u304c\u7d42\u4e86\u3057\u307e\u3059\u3002\u958b\u3044\u3066\u3044\u308b\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u304c\u5b58\u5728\u3057\u306a\u3044\u5834\u5408\u3001\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3059\u3002<\/p>\n<\/p><\/div>\n<br \/><br \/>\n<h3 id=\"connection_rollbacktrans\">RollbackTrans \u30e1\u30bd\u30c3\u30c9<\/h3>\n<div class=\"kkbox\"><strong>\u3010\u66f8\u5f0f\u3011<\/strong><\/p>\n<p>    <em>object<\/em>.<strong>RollbackTrans<\/strong><\/p><\/div>\n<br \/>\n<h4>CreateObject \u95a2\u6570<\/h4>\n<div class=\"m30-l\">\n<ul style=\"margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:0;\">\n<li>object&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u5bfe\u8c61\u3068\u306a\u308b <span class=\"red\"><strong>Connection \u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/strong><\/span>\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n<br \/>\n<p class=\"caution4\"><strong>RollbackTrans \u30e1\u30bd\u30c3\u30c9<\/strong>\u3092\u547c\u3073\u51fa\u3059\u3068\u305d\u306e\u63a5\u7d9a\u4e0a\u3067\u958b\u3044\u3066\u3044\u308b\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u306b\u52a0\u3048\u305f\u5909\u66f4\u304c\u3059\u3079\u3066\u5143\u306b\u623b\u3055\u308c\u3001\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u304c\u7d42\u4e86\u3057\u307e\u3059\u3002\u958b\u3044\u3066\u3044\u308b\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u304c\u5b58\u5728\u3057\u306a\u3044\u5834\u5408\u3001\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3059\u3002<\/p>\n<\/p><\/div>\n<\/div>\n<br \/><br \/>\n<h2>\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3 \u4f7f\u7528\u4f8b<\/h2>\n<div class=\"m30-l\">\n<h3 id=\"vba_sample1\">\u30b5\u30f3\u30d7\u30ebVBA\u30bd\u30fc\u30b9 \u305d\u306e\uff11<\/h3>\n<pre class=\"lang:vb mark:0 decode:true \" title=\"\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\uff08Delete \u6587\uff09\u4f7f\u7528\u4f8b\" data-url=\"http:\/\/example.co.jp\" >\r\n\u3000\r\nSub Sample_Transaction1()\r\n\r\n    '\u53c2\u7167\u8a2d\u5b9a:Microsoft ActiveX Data Objects 6.1 Library\r\n    \r\n    Dim cn As ADODB.Connection\r\n    Dim cmd As ADODB.Command\r\n    Dim rs As ADODB.Recordset\r\n    Dim constr As String\r\n    Dim DBFile As String\r\n    Dim i As Long\r\n    Dim j As Long\r\n    Dim strSQL1 As String\r\n    Dim strSQL2 As String\r\n    Dim rcnt As Long\r\n    \r\n    DBFile = ActiveWorkbook.Path & \"\\mydb1.accdb\"\r\n    constr = \"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=\" & DBFile\r\n    strSQL1 = \"delete from \u30c6\u30fc\u30d6\u30eb4 \" & _\r\n             \"where \u793e\u54e1ID in('E0040','H0055')\"\r\n    strSQL2 = \"select * from \u30c6\u30fc\u30d6\u30eb4 where \u90e8\u7f72C > 104 order by \u793e\u54e1ID\"\r\n    \r\n    Set cn = New ADODB.Connection\r\n    cn.ConnectionString = constr\r\n    cn.Open\r\n    \r\n    Set cmd = New ADODB.Command\r\n    cmd.ActiveConnection = cn\r\n    \r\n    On Error GoTo ErrHandler\r\n    \r\n    '\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u306e\u958b\u59cb\r\n    cn.BeginTrans\r\n    \r\n    With cmd\r\n        .CommandText = strSQL1\r\n        .Execute RecordsAffected:=rcnt\r\n    End With\r\n            \r\n    '\u51e6\u7406\u3092\u78ba\u5b9a\uff08\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u7d42\u4e86\uff09\r\n    cn.CommitTrans\r\n    \r\n    On Error GoTo 0\r\n                \r\nErrHandler:\r\n    '\u30a8\u30e9\u30fc\u767a\u751f\u6642\u306f\u51e6\u7406\u3092\u5143\u306b\u623b\u3059\uff08\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u7d42\u4e86\uff09\r\n    If Err.Number <> 0 Then cn.RollbackTrans\r\n    \r\n    cmd.CommandText = strSQL2\r\n    Set rs = cmd.Execute\r\n                \r\n    With Worksheets(\"Sheet1\")\r\n        .Cells.Clear\r\n        i = 1\r\n        .Cells.Clear\r\n        Do Until rs.EOF\r\n            For j = 0 To rs.Fields.Count - 1\r\n                If i = 1 Then .Cells(i, j + 1) = rs(j).Name\r\n                .Cells(i + 1, j + 1) = rs(j).Value\r\n            Next j\r\n            rs.MoveNext\r\n            i = i + 1\r\n        Loop\r\n        .Columns(\"A:H\").AutoFit\r\n    End With\r\n        \r\n    Set cmd = Nothing\r\n    Set rs = Nothing\r\n    cn.Close\r\n    Set cn = Nothing\r\n\r\nEnd Sub\r\n\u3000\r\n  <\/pre>\n<br \/>\n<h3>\u5b9f\u884c\u7d50\u679c<\/h3>\n<p><a href=\"https:\/\/i0.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2017\/09\/adotransaction01.jpg?ssl=1\" rel=\"lightbox[6231]\"><img loading=\"lazy\" src=\"https:\/\/i0.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2017\/09\/adotransaction01.jpg?resize=580%2C456&#038;ssl=1\" alt=\"\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f301\" width=\"580\" height=\"456\" class=\"alignnone size-large wp-image-6250\" srcset=\"https:\/\/i0.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2017\/09\/adotransaction01.jpg?resize=580%2C456&amp;ssl=1 580w, https:\/\/i0.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2017\/09\/adotransaction01.jpg?resize=400%2C314&amp;ssl=1 400w, https:\/\/i0.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2017\/09\/adotransaction01.jpg?w=657&amp;ssl=1 657w\" sizes=\"(max-width: 580px) 100vw, 580px\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<br \/><br \/>\n<h3 id=\"vba_sample\">\u30b5\u30f3\u30d7\u30ebVBA\u30bd\u30fc\u30b9 \u305d\u306e\uff12<\/h3>\n<pre class=\"lang:vb mark:0 decode:true \" title=\"\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\uff08INSERT INTO \u6587\uff09\u4f7f\u7528\u4f8b\" data-url=\"http:\/\/example.co.jp\" >\r\n\u3000\r\nSub Sample_Transaction2()\r\n\r\n    '\u53c2\u7167\u8a2d\u5b9a:Microsoft ActiveX Data Objects 6.1 Library\r\n    \r\n    Dim cn As ADODB.Connection\r\n    Dim cmd As ADODB.Command\r\n    Dim rs As ADODB.Recordset\r\n    Dim constr As String\r\n    Dim DBFile As String\r\n    Dim i As Long\r\n    Dim j As Long\r\n    Dim strSQL As String\r\n    Dim strSQL1 As String\r\n    Dim strSQL2 As String\r\n    Dim strSQL3 As String\r\n    Dim rcnt 'RecordsAffected\r\n    \r\n    DBFile = ActiveWorkbook.Path & \"\\mydb1.accdb\"\r\n    constr = \"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=\" & DBFile\r\n    \r\n    strSQL1 = \"insert into \" & _\r\n              \"\u30c6\u30fc\u30d6\u30eb4 (\u793e\u54e1ID,\u6c0f\u540d,\u30d5\u30ea\u30ac\u30ca,\u6027\u5225,\u90e8\u7f72C,\u5165\u793e\u5e74\u6708\u65e5) \" & _\r\n              \"values ('E0040','\u7530\u91ce\u4ec1','\u30bf\u30ce\u30d2\u30c8\u30b7','\u7537',105,#1995\/4\/2#)\"\r\n    \r\n    strSQL2 = \"insert into \" & _\r\n              \"\u30c6\u30fc\u30d6\u30eb4 (\u793e\u54e1ID,\u6c0f\u540d,\u30d5\u30ea\u30ac\u30ca,\u6027\u5225,\u90e8\u7f72C,\u5165\u793e\u5e74\u6708\u65e5) \" & _\r\n             \"values ('H0055','\u56fd\u7acb\u6d69\u53f8','\u30af\u30cb\u30bf\u30c1\u30b3\u30a6\u30b8','\u7537',105,#1999\/4\/20#)\"\r\n    \r\n    strSQL3 = \"select * from \u30c6\u30fc\u30d6\u30eb4 where \u90e8\u7f72C > 104 order by \u793e\u54e1ID\"\r\n    \r\n    Set cn = New ADODB.Connection\r\n    cn.ConnectionString = constr\r\n    cn.Open\r\n    \r\n    Set cmd = New ADODB.Command\r\n    cmd.ActiveConnection = cn\r\n    \r\n    On Error GoTo ErrHandler\r\n    \r\n    '\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u306e\u958b\u59cb\r\n    cn.BeginTrans\r\n    \r\n    With cmd\r\n        \r\n        .CommandText = strSQL1\r\n        .Execute\r\n        \r\n        .CommandText = strSQL2\r\n        .Execute\r\n    \r\n    End With\r\n            \r\n    '\u51e6\u7406\u3092\u78ba\u5b9a\uff08\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u7d42\u4e86\uff09\r\n    cn.CommitTrans\r\n            \r\n    On Error GoTo 0\r\n                \r\nErrHandler:\r\n    '\u30a8\u30e9\u30fc\u767a\u751f\u6642\u306f\u51e6\u7406\u3092\u5143\u306b\u623b\u3059\uff08\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u7d42\u4e86\uff09\r\n    If Err.Number <> 0 Then cn.RollbackTrans\r\n    \r\n    cmd.CommandText = strSQL3\r\n    Set rs = cmd.Execute\r\n    \r\n    With Worksheets(\"Sheet1\")\r\n        .Cells.Clear\r\n        i = 1\r\n        .Cells.Clear\r\n        Do Until rs.EOF\r\n            For j = 0 To rs.Fields.Count - 1\r\n                If i = 1 Then .Cells(i, j + 1) = rs(j).Name\r\n                .Cells(i + 1, j + 1) = rs(j).Value\r\n            Next j\r\n            rs.MoveNext\r\n            i = i + 1\r\n        Loop\r\n        .Columns(\"A:H\").AutoFit\r\n    End With\r\n        \r\n    Set cmd = Nothing\r\n    Set rs = Nothing\r\n    cn.Close\r\n    Set cn = Nothing\r\n\r\nEnd Sub\r\n\u3000\r\n  <\/pre>\n<br \/>\n<h3>\u5b9f\u884c\u7d50\u679c<\/h3>\n<p><a href=\"https:\/\/i2.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2017\/09\/adotransaction02.jpg?ssl=1\" rel=\"lightbox[6231]\"><img loading=\"lazy\" src=\"https:\/\/i2.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2017\/09\/adotransaction02.jpg?resize=580%2C455&#038;ssl=1\" alt=\"\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f302\" width=\"580\" height=\"455\" class=\"alignnone size-large wp-image-6251\" srcset=\"https:\/\/i2.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2017\/09\/adotransaction02.jpg?resize=580%2C455&amp;ssl=1 580w, https:\/\/i2.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2017\/09\/adotransaction02.jpg?resize=400%2C314&amp;ssl=1 400w, https:\/\/i2.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2017\/09\/adotransaction02.jpg?w=657&amp;ssl=1 657w\" sizes=\"(max-width: 580px) 100vw, 580px\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<\/div>\n<br \/><br \/>\n","protected":false},"excerpt":{"rendered":"<p>ADO \u3067\u306e\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u51e6\u7406 \u3010\u66f8\u5f0f\u3011 Sub Sample_Transac &#8230; <\/p>\n","protected":false},"author":1,"featured_media":6250,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"amp_status":"","spay_email":"","jetpack_publicize_message":""},"categories":[948],"tags":[953,950,1004,1005,966,721,968,1006,951,814,955,949,1003,835],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2017\/09\/adotransaction01.jpg?fit=657%2C516&ssl=1","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p4Ye9i-1Cv","_links":{"self":[{"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/posts\/6231"}],"collection":[{"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/comments?post=6231"}],"version-history":[{"count":23,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/posts\/6231\/revisions"}],"predecessor-version":[{"id":6482,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/posts\/6231\/revisions\/6482"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/media\/6250"}],"wp:attachment":[{"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/media?parent=6231"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/categories?post=6231"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/tags?post=6231"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}