Current File : //usr/local/apps/share/doc/freetds/reference/a00387_ga5a29ae7f99d089dc3cea85ec6ee5f3ab_icgraph.svg
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
 "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Generated by graphviz version 2.38.0 (20140413.2041)
 -->
<!-- Title: tds_submit_query Pages: 1 -->
<svg width="639pt" height="351pt"
 viewBox="0.00 0.00 639.00 351.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 347)">
<title>tds_submit_query</title>
<polygon fill="white" stroke="none" points="-4,4 -4,-347 635,-347 635,4 -4,4"/>
<!-- Node1 -->
<g id="node1" class="node"><title>Node1</title>
<polygon fill="#bfbfbf" stroke="black" points="0,-171.5 0,-190.5 98,-190.5 98,-171.5 0,-171.5"/>
<text text-anchor="middle" x="49" y="-178.5" font-family="Helvetica,sans-Serif" font-size="10.00">tds_submit_query</text>
</g>
<!-- Node2 -->
<g id="node2" class="node"><title>Node2</title>
<g id="a_node2"><a xlink:href="a00375.html#gae67546338cb9542a4902aa914f57f314" target="_top" xlink:title="_bcp_exec_out">
<polygon fill="white" stroke="black" points="309.5,-285.5 309.5,-304.5 397.5,-304.5 397.5,-285.5 309.5,-285.5"/>
<text text-anchor="middle" x="353.5" y="-292.5" font-family="Helvetica,sans-Serif" font-size="10.00">_bcp_exec_out</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node2 -->
<g id="edge1" class="edge"><title>Node1&#45;&gt;Node2</title>
<path fill="none" stroke="midnightblue" d="M60.3679,-199.623C74.0096,-222.103 100.261,-258.999 134,-276 189.597,-304.015 263.304,-303.995 309.31,-300.323"/>
<polygon fill="midnightblue" stroke="midnightblue" points="63.2228,-197.572 55.1568,-190.702 57.1785,-201.102 63.2228,-197.572"/>
</g>
<!-- Node4 -->
<g id="node4" class="node"><title>Node4</title>
<g id="a_node4"><a xlink:href="a00372.html#gac980139b9cea03cf93e373d425991481" target="_top" xlink:title="Transmit the command buffer to the server. ">
<polygon fill="white" stroke="black" points="162.5,-323.5 162.5,-342.5 227.5,-342.5 227.5,-323.5 162.5,-323.5"/>
<text text-anchor="middle" x="195" y="-330.5" font-family="Helvetica,sans-Serif" font-size="10.00">dbsqlsend</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node4 -->
<g id="edge3" class="edge"><title>Node1&#45;&gt;Node4</title>
<path fill="none" stroke="midnightblue" d="M58.0191,-200.138C70.4762,-227.738 96.956,-278.72 134,-309 142.252,-315.745 152.642,-320.789 162.447,-324.466"/>
<polygon fill="midnightblue" stroke="midnightblue" points="61.1489,-198.559 53.9386,-190.796 54.7342,-201.361 61.1489,-198.559"/>
</g>
<!-- Node7 -->
<g id="node7" class="node"><title>Node7</title>
<g id="a_node7"><a xlink:href="a00387.html#gad695defcbf663b0023851a198206a772" target="_top" xlink:title="Format and submit a query. ">
<polygon fill="white" stroke="black" points="144.5,-247.5 144.5,-266.5 245.5,-266.5 245.5,-247.5 144.5,-247.5"/>
<text text-anchor="middle" x="195" y="-254.5" font-family="Helvetica,sans-Serif" font-size="10.00">tds_submit_queryf</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node7 -->
<g id="edge6" class="edge"><title>Node1&#45;&gt;Node7</title>
<path fill="none" stroke="midnightblue" d="M70.1014,-197.102C86.5133,-209.625 110.718,-226.712 134,-238 141.472,-241.623 149.796,-244.769 157.807,-247.403"/>
<polygon fill="midnightblue" stroke="midnightblue" points="71.884,-194.054 61.8408,-190.68 67.5877,-199.581 71.884,-194.054"/>
</g>
<!-- Node12 -->
<g id="node12" class="node"><title>Node12</title>
<g id="a_node12"><a xlink:href="a00387.html#gae603aed795a4c5bb26ab159a11256996" target="_top" xlink:title="Submit a prepared query with parameters. ">
<polygon fill="white" stroke="black" points="134.5,-209.5 134.5,-228.5 255.5,-228.5 255.5,-209.5 134.5,-209.5"/>
<text text-anchor="middle" x="195" y="-216.5" font-family="Helvetica,sans-Serif" font-size="10.00">tds_submit_execdirect</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node12 -->
<g id="edge12" class="edge"><title>Node1&#45;&gt;Node12</title>
<path fill="none" stroke="midnightblue" d="M96.1722,-193.184C116.164,-198.46 139.219,-204.544 157.924,-209.48"/>
<polygon fill="midnightblue" stroke="midnightblue" points="96.8994,-189.756 86.3373,-190.589 95.1132,-196.525 96.8994,-189.756"/>
</g>
<!-- Node13 -->
<g id="node13" class="node"><title>Node13</title>
<g id="a_node13"><a xlink:href="a00387.html#gaf0da49585d39e99780a004ee2ca23479" target="_top" xlink:title="Send option commands to server. ">
<polygon fill="white" stroke="black" points="134.5,-171.5 134.5,-190.5 255.5,-190.5 255.5,-171.5 134.5,-171.5"/>
<text text-anchor="middle" x="195" y="-178.5" font-family="Helvetica,sans-Serif" font-size="10.00">tds_submit_optioncmd</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node13 -->
<g id="edge13" class="edge"><title>Node1&#45;&gt;Node13</title>
<path fill="none" stroke="midnightblue" d="M108.536,-181C117.018,-181 125.759,-181 134.264,-181"/>
<polygon fill="midnightblue" stroke="midnightblue" points="108.351,-177.5 98.3505,-181 108.35,-184.5 108.351,-177.5"/>
</g>
<!-- Node14 -->
<g id="node14" class="node"><title>Node14</title>
<g id="a_node14"><a xlink:href="a00387.html#ga7bf3670d3d6dabed469b9eb117298079" target="_top" xlink:title="Send a rollback request. ">
<polygon fill="white" stroke="black" points="134,-133.5 134,-152.5 256,-152.5 256,-133.5 134,-133.5"/>
<text text-anchor="middle" x="195" y="-140.5" font-family="Helvetica,sans-Serif" font-size="10.00">tds_submit_begin_tran</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node14 -->
<g id="edge14" class="edge"><title>Node1&#45;&gt;Node14</title>
<path fill="none" stroke="midnightblue" d="M96.1722,-168.816C116.164,-163.54 139.219,-157.456 157.924,-152.52"/>
<polygon fill="midnightblue" stroke="midnightblue" points="95.1132,-165.475 86.3373,-171.411 96.8994,-172.244 95.1132,-165.475"/>
</g>
<!-- Node15 -->
<g id="node15" class="node"><title>Node15</title>
<g id="a_node15"><a xlink:href="a00387.html#ga9c1cdcc388506a2ca3c0aaee8c461ba6" target="_top" xlink:title="Send a rollback request. ">
<polygon fill="white" stroke="black" points="141,-95.5 141,-114.5 249,-114.5 249,-95.5 141,-95.5"/>
<text text-anchor="middle" x="195" y="-102.5" font-family="Helvetica,sans-Serif" font-size="10.00">tds_submit_rollback</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node15 -->
<g id="edge15" class="edge"><title>Node1&#45;&gt;Node15</title>
<path fill="none" stroke="midnightblue" d="M70.1014,-164.898C86.5133,-152.375 110.718,-135.288 134,-124 141.472,-120.377 149.796,-117.231 157.807,-114.597"/>
<polygon fill="midnightblue" stroke="midnightblue" points="67.5877,-162.419 61.8408,-171.32 71.884,-167.946 67.5877,-162.419"/>
</g>
<!-- Node16 -->
<g id="node16" class="node"><title>Node16</title>
<g id="a_node16"><a xlink:href="a00387.html#ga530538c4c975524cf0b771a550fc94a3" target="_top" xlink:title="Send a commit request. ">
<polygon fill="white" stroke="black" points="142.5,-57.5 142.5,-76.5 247.5,-76.5 247.5,-57.5 142.5,-57.5"/>
<text text-anchor="middle" x="195" y="-64.5" font-family="Helvetica,sans-Serif" font-size="10.00">tds_submit_commit</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node16 -->
<g id="edge16" class="edge"><title>Node1&#45;&gt;Node16</title>
<path fill="none" stroke="midnightblue" d="M61.4831,-162.898C75.922,-141.548 102.652,-106.392 134,-86 139.862,-82.1869 146.543,-79.0928 153.267,-76.5966"/>
<polygon fill="midnightblue" stroke="midnightblue" points="58.4774,-161.098 55.9054,-171.376 64.3254,-164.946 58.4774,-161.098"/>
</g>
<!-- Node17 -->
<g id="node17" class="node"><title>Node17</title>
<g id="a_node17"><a xlink:href="a00217.html#a8208eef2a3974ae1f0cf3c8c8ab011ce" target="_top" xlink:title="Start sending BCP data to server. ">
<polygon fill="white" stroke="black" points="155,-19.5 155,-38.5 235,-38.5 235,-19.5 155,-19.5"/>
<text text-anchor="middle" x="195" y="-26.5" font-family="Helvetica,sans-Serif" font-size="10.00">tds_bcp_start</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node17 -->
<g id="edge17" class="edge"><title>Node1&#45;&gt;Node17</title>
<path fill="none" stroke="midnightblue" d="M57.0229,-161.971C68.6276,-133.12 94.5202,-78.456 134,-48 140.142,-43.2615 147.493,-39.6899 154.909,-37.0024"/>
<polygon fill="midnightblue" stroke="midnightblue" points="53.7423,-160.75 53.3952,-171.339 60.27,-163.278 53.7423,-160.75"/>
</g>
<!-- Node3 -->
<g id="node3" class="node"><title>Node3</title>
<g id="a_node3"><a xlink:href="a00374.html#ga7a184158b27a50f713e9cfae3b746209" target="_top" xlink:title="Write a datafile to a table. ">
<polygon fill="white" stroke="black" points="569,-171.5 569,-190.5 631,-190.5 631,-171.5 569,-171.5"/>
<text text-anchor="middle" x="600" y="-178.5" font-family="Helvetica,sans-Serif" font-size="10.00">bcp_exec</text>
</a>
</g>
</g>
<!-- Node2&#45;&gt;Node3 -->
<g id="edge2" class="edge"><title>Node2&#45;&gt;Node3</title>
<path fill="none" stroke="midnightblue" d="M407.866,-300.521C445.377,-301.851 495.379,-298.287 533,-276 567.038,-255.835 587.773,-210.448 595.523,-190.599"/>
<polygon fill="midnightblue" stroke="midnightblue" points="407.795,-297.014 397.638,-300.028 407.458,-304.006 407.795,-297.014"/>
</g>
<!-- Node5 -->
<g id="node5" class="node"><title>Node5</title>
<g id="a_node5"><a xlink:href="a00372.html#gaae889abeb145ec41f7361aa8f597fe46" target="_top" xlink:title="send the SQL command to the server and wait for an answer. ">
<polygon fill="white" stroke="black" points="321.5,-323.5 321.5,-342.5 385.5,-342.5 385.5,-323.5 321.5,-323.5"/>
<text text-anchor="middle" x="353.5" y="-330.5" font-family="Helvetica,sans-Serif" font-size="10.00">dbsqlexec</text>
</a>
</g>
</g>
<!-- Node4&#45;&gt;Node5 -->
<g id="edge4" class="edge"><title>Node4&#45;&gt;Node5</title>
<path fill="none" stroke="midnightblue" d="M237.731,-333C264.034,-333 297.434,-333 321.411,-333"/>
<polygon fill="midnightblue" stroke="midnightblue" points="237.67,-329.5 227.67,-333 237.67,-336.5 237.67,-329.5"/>
</g>
<!-- Node6 -->
<g id="node6" class="node"><title>Node6</title>
<g id="a_node6"><a xlink:href="a00372.html#ga66ea891910f0a357cc78107d6ab7d962" target="_top" xlink:title="Change current database. ">
<polygon fill="white" stroke="black" points="470,-323.5 470,-342.5 514,-342.5 514,-323.5 470,-323.5"/>
<text text-anchor="middle" x="492" y="-330.5" font-family="Helvetica,sans-Serif" font-size="10.00">dbuse</text>
</a>
</g>
</g>
<!-- Node5&#45;&gt;Node6 -->
<g id="edge5" class="edge"><title>Node5&#45;&gt;Node6</title>
<path fill="none" stroke="midnightblue" d="M395.86,-333C420.177,-333 449.914,-333 469.6,-333"/>
<polygon fill="midnightblue" stroke="midnightblue" points="395.816,-329.5 385.816,-333 395.816,-336.5 395.816,-329.5"/>
</g>
<!-- Node7&#45;&gt;Node2 -->
<g id="edge7" class="edge"><title>Node7&#45;&gt;Node2</title>
<path fill="none" stroke="midnightblue" d="M245.289,-268.968C267.22,-274.293 292.685,-280.476 313.292,-285.48"/>
<polygon fill="midnightblue" stroke="midnightblue" points="246.035,-265.547 235.492,-266.589 244.383,-272.35 246.035,-265.547"/>
</g>
<!-- Node8 -->
<g id="node8" class="node"><title>Node8</title>
<g id="a_node8"><a xlink:href="a00217.html#ac6610c72bd31bad5378f760fa9b12d66" target="_top" xlink:title="Initialize BCP information. ">
<polygon fill="white" stroke="black" points="317,-209.5 317,-228.5 390,-228.5 390,-209.5 317,-209.5"/>
<text text-anchor="middle" x="353.5" y="-216.5" font-family="Helvetica,sans-Serif" font-size="10.00">tds_bcp_init</text>
</a>
</g>
</g>
<!-- Node7&#45;&gt;Node8 -->
<g id="edge8" class="edge"><title>Node7&#45;&gt;Node8</title>
<path fill="none" stroke="midnightblue" d="M245.476,-244.987C268.616,-239.368 295.656,-232.802 316.767,-227.676"/>
<polygon fill="midnightblue" stroke="midnightblue" points="244.383,-241.65 235.492,-247.411 246.035,-248.453 244.383,-241.65"/>
</g>
<!-- Node10 -->
<g id="node10" class="node"><title>Node10</title>
<g id="a_node10"><a xlink:href="a00217.html#a7711612cc544a7da2c7aa212b870acb2" target="_top" xlink:title="Start writing writetext request. ">
<polygon fill="white" stroke="black" points="301.5,-247.5 301.5,-266.5 405.5,-266.5 405.5,-247.5 301.5,-247.5"/>
<text text-anchor="middle" x="353.5" y="-254.5" font-family="Helvetica,sans-Serif" font-size="10.00">tds_writetext_start</text>
</a>
</g>
</g>
<!-- Node7&#45;&gt;Node10 -->
<g id="edge10" class="edge"><title>Node7&#45;&gt;Node10</title>
<path fill="none" stroke="midnightblue" d="M255.756,-257C270.81,-257 286.833,-257 301.418,-257"/>
<polygon fill="midnightblue" stroke="midnightblue" points="255.518,-253.5 245.518,-257 255.518,-260.5 255.518,-253.5"/>
</g>
<!-- Node9 -->
<g id="node9" class="node"><title>Node9</title>
<g id="a_node9"><a xlink:href="a00374.html#gada8e987c4a6225b9276c05ba3a4f47a0" target="_top" xlink:title="Prepare for bulk copy operation on a table. ">
<polygon fill="white" stroke="black" points="465.5,-209.5 465.5,-228.5 518.5,-228.5 518.5,-209.5 465.5,-209.5"/>
<text text-anchor="middle" x="492" y="-216.5" font-family="Helvetica,sans-Serif" font-size="10.00">bcp_init</text>
</a>
</g>
</g>
<!-- Node8&#45;&gt;Node9 -->
<g id="edge9" class="edge"><title>Node8&#45;&gt;Node9</title>
<path fill="none" stroke="midnightblue" d="M400.298,-219C421.904,-219 446.887,-219 465.156,-219"/>
<polygon fill="midnightblue" stroke="midnightblue" points="400.007,-215.5 390.007,-219 400.007,-222.5 400.007,-215.5"/>
</g>
<!-- Node11 -->
<g id="node11" class="node"><title>Node11</title>
<g id="a_node11"><a xlink:href="a00372.html#ga548153eb2eae76c48aa9d4b72258dc1c" target="_top" xlink:title="Send text or image data to the server. ">
<polygon fill="white" stroke="black" points="458,-247.5 458,-266.5 526,-266.5 526,-247.5 458,-247.5"/>
<text text-anchor="middle" x="492" y="-254.5" font-family="Helvetica,sans-Serif" font-size="10.00">dbwritetext</text>
</a>
</g>
</g>
<!-- Node10&#45;&gt;Node11 -->
<g id="edge11" class="edge"><title>Node10&#45;&gt;Node11</title>
<path fill="none" stroke="midnightblue" d="M416.055,-257C430.4,-257 445.145,-257 457.719,-257"/>
<polygon fill="midnightblue" stroke="midnightblue" points="415.716,-253.5 405.716,-257 415.716,-260.5 415.716,-253.5"/>
</g>
<!-- Node18 -->
<g id="node18" class="node"><title>Node18</title>
<g id="a_node18"><a xlink:href="a00375.html#ga7370f1223f13510d6b33e98f2de09fb5" target="_top" xlink:title="_bcp_exec_in">
<polygon fill="white" stroke="black" points="451,-57.5 451,-76.5 533,-76.5 533,-57.5 451,-57.5"/>
<text text-anchor="middle" x="492" y="-64.5" font-family="Helvetica,sans-Serif" font-size="10.00">_bcp_exec_in</text>
</a>
</g>
</g>
<!-- Node17&#45;&gt;Node18 -->
<g id="edge18" class="edge"><title>Node17&#45;&gt;Node18</title>
<path fill="none" stroke="midnightblue" d="M245.14,-35.3299C302.772,-42.7536 397.215,-54.9192 450.718,-61.8111"/>
<polygon fill="midnightblue" stroke="midnightblue" points="245.539,-31.8525 235.174,-34.0461 244.645,-38.7951 245.539,-31.8525"/>
</g>
<!-- Node19 -->
<g id="node19" class="node"><title>Node19</title>
<g id="a_node19"><a xlink:href="a00374.html#gaa23f8e5c7f437a94746c90292dd1cb01" target="_top" xlink:title="Commit a set of rows to the table. ">
<polygon fill="white" stroke="black" points="321,-0.5 321,-19.5 386,-19.5 386,-0.5 321,-0.5"/>
<text text-anchor="middle" x="353.5" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">bcp_batch</text>
</a>
</g>
</g>
<!-- Node17&#45;&gt;Node19 -->
<g id="edge20" class="edge"><title>Node17&#45;&gt;Node19</title>
<path fill="none" stroke="midnightblue" d="M245.049,-23.0452C269.854,-20.0337 299.23,-16.4673 320.992,-13.8252"/>
<polygon fill="midnightblue" stroke="midnightblue" points="244.593,-19.5747 235.088,-24.2545 245.437,-26.5237 244.593,-19.5747"/>
</g>
<!-- Node20 -->
<g id="node20" class="node"><title>Node20</title>
<g id="a_node20"><a xlink:href="a00217.html#a5eec23828b0610c58de248c4edb53879" target="_top" xlink:title="Start bulk copy to server. ">
<polygon fill="white" stroke="black" points="292,-76.5 292,-95.5 415,-95.5 415,-76.5 292,-76.5"/>
<text text-anchor="middle" x="353.5" y="-83.5" font-family="Helvetica,sans-Serif" font-size="10.00">tds_bcp_start_copy_in</text>
</a>
</g>
</g>
<!-- Node17&#45;&gt;Node20 -->
<g id="edge21" class="edge"><title>Node17&#45;&gt;Node20</title>
<path fill="none" stroke="midnightblue" d="M237.306,-41.6709C243.592,-43.7173 249.986,-45.8663 256,-48 263.085,-50.5134 301.992,-65.9186 328.188,-76.3262"/>
<polygon fill="midnightblue" stroke="midnightblue" points="238.177,-38.2747 227.586,-38.5566 236.041,-44.941 238.177,-38.2747"/>
</g>
<!-- Node18&#45;&gt;Node3 -->
<g id="edge19" class="edge"><title>Node18&#45;&gt;Node3</title>
<path fill="none" stroke="midnightblue" d="M527.356,-81.7816C529.337,-83.0988 531.238,-84.5048 533,-86 562.71,-111.204 585.293,-152.765 594.489,-171.417"/>
<polygon fill="midnightblue" stroke="midnightblue" points="528.738,-78.5384 518.327,-76.5745 525.241,-84.6023 528.738,-78.5384"/>
</g>
<!-- Node20&#45;&gt;Node18 -->
<g id="edge23" class="edge"><title>Node20&#45;&gt;Node18</title>
<path fill="none" stroke="midnightblue" d="M425.136,-76.1679C433.974,-74.9376 442.76,-73.7148 450.897,-72.582"/>
<polygon fill="midnightblue" stroke="midnightblue" points="424.588,-72.7104 415.166,-77.5557 425.553,-79.6435 424.588,-72.7104"/>
</g>
<!-- Node21 -->
<g id="node21" class="node"><title>Node21</title>
<g id="a_node21"><a xlink:href="a00374.html#gaf1130ac97f6af55e86ec70b0aa4f5b40" target="_top" xlink:title="Write data in host variables to the table. ">
<polygon fill="white" stroke="black" points="452,-95.5 452,-114.5 532,-114.5 532,-95.5 452,-95.5"/>
<text text-anchor="middle" x="492" y="-102.5" font-family="Helvetica,sans-Serif" font-size="10.00">bcp_sendrow</text>
</a>
</g>
</g>
<!-- Node20&#45;&gt;Node21 -->
<g id="edge22" class="edge"><title>Node20&#45;&gt;Node21</title>
<path fill="none" stroke="midnightblue" d="M425.079,-95.8242C434.223,-97.097 443.311,-98.362 451.686,-99.5277"/>
<polygon fill="midnightblue" stroke="midnightblue" points="425.553,-92.3565 415.166,-94.4443 424.588,-99.2896 425.553,-92.3565"/>
</g>
</g>
</svg>