Current File : //usr/local/apps/share/doc/freetds/reference/a00390_gaeeb1562044786ea17bea361ed83e6946_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_process_simple_query Pages: 1 -->
<svg width="885pt" height="368pt"
 viewBox="0.00 0.00 885.00 367.67" 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 363.665)">
<title>tds_process_simple_query</title>
<polygon fill="white" stroke="none" points="-4,4 -4,-363.665 881,-363.665 881,4 -4,4"/>
<!-- Node1 -->
<g id="node1" class="node"><title>Node1</title>
<polygon fill="#bfbfbf" stroke="black" points="0,-149.665 0,-179.665 110,-179.665 110,-149.665 0,-149.665"/>
<text text-anchor="start" x="8" y="-167.665" font-family="Helvetica,sans-Serif" font-size="10.00">tds_process_simple</text>
<text text-anchor="middle" x="55" y="-156.665" font-family="Helvetica,sans-Serif" font-size="10.00">_query</text>
</g>
<!-- Node2 -->
<g id="node2" class="node"><title>Node2</title>
<g id="a_node2"><a xlink:href="a00387.html#gaf0da49585d39e99780a004ee2ca23479" target="_top" xlink:title="Send option commands to server. ">
<polygon fill="white" stroke="black" points="756,-84.1653 756,-103.165 877,-103.165 877,-84.1653 756,-84.1653"/>
<text text-anchor="middle" x="816.5" y="-91.1653" font-family="Helvetica,sans-Serif" font-size="10.00">tds_submit_optioncmd</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="M70.8185,-188.58C86.827,-212.764 114.335,-249.878 146,-273.665 228.449,-335.604 258.377,-359.665 361.5,-359.665 361.5,-359.665 361.5,-359.665 517,-359.665 674.222,-359.665 786.904,-151.438 810.785,-103.448"/>
<polygon fill="midnightblue" stroke="midnightblue" points="73.6349,-186.49 65.2614,-179.998 67.7593,-190.295 73.6349,-186.49"/>
</g>
<!-- Node3 -->
<g id="node3" class="node"><title>Node3</title>
<g id="a_node3"><a xlink:href="a00217.html#ade7df2db455b61edc83819ad60edb339" target="_top" xlink:title="Tell we finished sending BCP data to server. ">
<polygon fill="white" stroke="black" points="164,-245.165 164,-264.165 247,-264.165 247,-245.165 164,-245.165"/>
<text text-anchor="middle" x="205.5" y="-252.165" font-family="Helvetica,sans-Serif" font-size="10.00">tds_bcp_done</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node3 -->
<g id="edge2" class="edge"><title>Node1&#45;&gt;Node3</title>
<path fill="none" stroke="midnightblue" d="M89.6005,-185.029C120.592,-203.812 165.241,-230.872 188.711,-245.096"/>
<polygon fill="midnightblue" stroke="midnightblue" points="91.2216,-181.919 80.8556,-179.729 87.5935,-187.906 91.2216,-181.919"/>
</g>
<!-- Node8 -->
<g id="node8" class="node"><title>Node8</title>
<g id="a_node8"><a xlink:href="a00217.html#a8208eef2a3974ae1f0cf3c8c8ab011ce" target="_top" xlink:title="Start sending BCP data to server. ">
<polygon fill="white" stroke="black" points="165.5,-188.165 165.5,-207.165 245.5,-207.165 245.5,-188.165 165.5,-188.165"/>
<text text-anchor="middle" x="205.5" y="-195.165" font-family="Helvetica,sans-Serif" font-size="10.00">tds_bcp_start</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node8 -->
<g id="edge7" class="edge"><title>Node1&#45;&gt;Node8</title>
<path fill="none" stroke="midnightblue" d="M120.009,-178.89C135.366,-182.302 151.318,-185.847 165.171,-188.925"/>
<polygon fill="midnightblue" stroke="midnightblue" points="120.553,-175.425 110.032,-176.672 119.035,-182.258 120.553,-175.425"/>
</g>
<!-- Node11 -->
<g id="node11" class="node"><title>Node11</title>
<g id="a_node11"><a xlink:href="a00217.html#a7711612cc544a7da2c7aa212b870acb2" target="_top" xlink:title="Start writing writetext request. ">
<polygon fill="white" stroke="black" points="612,-9.16531 612,-28.1653 716,-28.1653 716,-9.16531 612,-9.16531"/>
<text text-anchor="middle" x="664" y="-16.1653" font-family="Helvetica,sans-Serif" font-size="10.00">tds_writetext_start</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node11 -->
<g id="edge13" class="edge"><title>Node1&#45;&gt;Node11</title>
<path fill="none" stroke="midnightblue" d="M69.7194,-140.83C85.0022,-116.708 112.082,-80.5016 146,-62.6653 299.479,18.0441 514.469,2.25321 611.681,-10.5464"/>
<polygon fill="midnightblue" stroke="midnightblue" points="66.6956,-139.066 64.45,-149.42 72.6624,-142.726 66.6956,-139.066"/>
</g>
<!-- Node13 -->
<g id="node13" class="node"><title>Node13</title>
<g id="a_node13"><a xlink:href="a00390.html#ga69902dffb299d62a799888e0fa3ccd68" target="_top" xlink:title="Attempt to close all deferred closes (dynamics and cursors). ">
<polygon fill="white" stroke="black" points="146,-72.6653 146,-102.665 265,-102.665 265,-72.6653 146,-72.6653"/>
<text text-anchor="start" x="154" y="-90.6653" font-family="Helvetica,sans-Serif" font-size="10.00">tds_process_pending</text>
<text text-anchor="middle" x="205.5" y="-79.6653" font-family="Helvetica,sans-Serif" font-size="10.00">_closes</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node13 -->
<g id="edge15" class="edge"><title>Node1&#45;&gt;Node13</title>
<path fill="none" stroke="midnightblue" d="M93.8427,-144.824C109.911,-136.419 128.856,-126.537 146,-117.665 155.427,-112.787 165.725,-107.493 175.018,-102.731"/>
<polygon fill="midnightblue" stroke="midnightblue" points="91.9867,-141.845 84.7496,-149.583 95.2325,-148.047 91.9867,-141.845"/>
</g>
<!-- Node4 -->
<g id="node4" class="node"><title>Node4</title>
<g id="a_node4"><a xlink:href="a00375.html#ga7370f1223f13510d6b33e98f2de09fb5" target="_top" xlink:title="_bcp_exec_in">
<polygon fill="white" stroke="black" points="475,-198.165 475,-217.165 557,-217.165 557,-198.165 475,-198.165"/>
<text text-anchor="middle" x="516" y="-205.165" font-family="Helvetica,sans-Serif" font-size="10.00">_bcp_exec_in</text>
</a>
</g>
</g>
<!-- Node3&#45;&gt;Node4 -->
<g id="edge3" class="edge"><title>Node3&#45;&gt;Node4</title>
<path fill="none" stroke="midnightblue" d="M257.141,-266.036C301.92,-273.979 368.555,-280.596 424,-264.665 456.251,-255.399 488.138,-230.983 504.228,-217.303"/>
<polygon fill="midnightblue" stroke="midnightblue" points="257.562,-262.554 247.09,-264.166 256.281,-269.436 257.562,-262.554"/>
</g>
<!-- Node6 -->
<g id="node6" class="node"><title>Node6</title>
<g id="a_node6"><a xlink:href="a00374.html#gaa23f8e5c7f437a94746c90292dd1cb01" target="_top" xlink:title="Commit a set of rows to the table. ">
<polygon fill="white" stroke="black" points="330,-236.165 330,-255.165 395,-255.165 395,-236.165 330,-236.165"/>
<text text-anchor="middle" x="362.5" y="-243.165" font-family="Helvetica,sans-Serif" font-size="10.00">bcp_batch</text>
</a>
</g>
</g>
<!-- Node3&#45;&gt;Node6 -->
<g id="edge5" class="edge"><title>Node3&#45;&gt;Node6</title>
<path fill="none" stroke="midnightblue" d="M257.213,-251.721C281.147,-250.331 308.969,-248.716 329.853,-247.503"/>
<polygon fill="midnightblue" stroke="midnightblue" points="257.005,-248.227 247.224,-252.301 257.411,-255.215 257.005,-248.227"/>
</g>
<!-- Node7 -->
<g id="node7" class="node"><title>Node7</title>
<g id="a_node7"><a xlink:href="a00374.html#ga8b85f79f53a62ac7a728fe626d609b65" target="_top" xlink:title="Conclude the transfer of data from program variables. ">
<polygon fill="white" stroke="black" points="331,-312.165 331,-331.165 394,-331.165 394,-312.165 331,-312.165"/>
<text text-anchor="middle" x="362.5" y="-319.165" font-family="Helvetica,sans-Serif" font-size="10.00">bcp_done</text>
</a>
</g>
</g>
<!-- Node3&#45;&gt;Node7 -->
<g id="edge6" class="edge"><title>Node3&#45;&gt;Node7</title>
<path fill="none" stroke="midnightblue" d="M235.772,-268.436C254.354,-277.065 278.967,-288.289 301,-297.665 312.645,-302.621 325.681,-307.834 336.661,-312.131"/>
<polygon fill="midnightblue" stroke="midnightblue" points="237.192,-265.236 226.649,-264.183 234.234,-271.58 237.192,-265.236"/>
</g>
<!-- Node5 -->
<g id="node5" class="node"><title>Node5</title>
<g id="a_node5"><a xlink:href="a00374.html#ga7a184158b27a50f713e9cfae3b746209" target="_top" xlink:title="Write a datafile to a table. ">
<polygon fill="white" stroke="black" points="633,-198.165 633,-217.165 695,-217.165 695,-198.165 633,-198.165"/>
<text text-anchor="middle" x="664" y="-205.165" font-family="Helvetica,sans-Serif" font-size="10.00">bcp_exec</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="M567.337,-207.665C589.046,-207.665 613.723,-207.665 632.575,-207.665"/>
<polygon fill="midnightblue" stroke="midnightblue" points="567.282,-204.165 557.282,-207.665 567.282,-211.165 567.282,-204.165"/>
</g>
<!-- Node8&#45;&gt;Node4 -->
<g id="edge8" class="edge"><title>Node8&#45;&gt;Node4</title>
<path fill="none" stroke="midnightblue" d="M255.677,-199.259C316.395,-201.228 418.513,-204.538 474.78,-206.362"/>
<polygon fill="midnightblue" stroke="midnightblue" points="255.68,-195.758 245.572,-198.932 255.453,-202.754 255.68,-195.758"/>
</g>
<!-- Node8&#45;&gt;Node6 -->
<g id="edge9" class="edge"><title>Node8&#45;&gt;Node6</title>
<path fill="none" stroke="midnightblue" d="M247.108,-210.241C273.213,-218.325 306.602,-228.665 330.56,-236.084"/>
<polygon fill="midnightblue" stroke="midnightblue" points="248.082,-206.878 237.494,-207.263 246.011,-213.565 248.082,-206.878"/>
</g>
<!-- Node9 -->
<g id="node9" class="node"><title>Node9</title>
<g id="a_node9"><a xlink:href="a00217.html#a5eec23828b0610c58de248c4edb53879" target="_top" xlink:title="Start bulk copy to server. ">
<polygon fill="white" stroke="black" points="301,-160.165 301,-179.165 424,-179.165 424,-160.165 301,-160.165"/>
<text text-anchor="middle" x="362.5" y="-167.165" font-family="Helvetica,sans-Serif" font-size="10.00">tds_bcp_start_copy_in</text>
</a>
</g>
</g>
<!-- Node8&#45;&gt;Node9 -->
<g id="edge10" class="edge"><title>Node8&#45;&gt;Node9</title>
<path fill="none" stroke="midnightblue" d="M255.797,-188.76C272.636,-185.718 291.531,-182.305 308.639,-179.214"/>
<polygon fill="midnightblue" stroke="midnightblue" points="254.832,-185.378 245.613,-190.6 256.076,-192.266 254.832,-185.378"/>
</g>
<!-- Node9&#45;&gt;Node4 -->
<g id="edge12" class="edge"><title>Node9&#45;&gt;Node4</title>
<path fill="none" stroke="midnightblue" d="M411.502,-181.705C432.667,-187.014 457.186,-193.164 477.045,-198.145"/>
<polygon fill="midnightblue" stroke="midnightblue" points="412.281,-178.292 401.73,-179.254 410.578,-185.082 412.281,-178.292"/>
</g>
<!-- Node10 -->
<g id="node10" class="node"><title>Node10</title>
<g id="a_node10"><a xlink:href="a00374.html#gaf1130ac97f6af55e86ec70b0aa4f5b40" target="_top" xlink:title="Write data in host variables to the table. ">
<polygon fill="white" stroke="black" points="476,-160.165 476,-179.165 556,-179.165 556,-160.165 476,-160.165"/>
<text text-anchor="middle" x="516" y="-167.165" font-family="Helvetica,sans-Serif" font-size="10.00">bcp_sendrow</text>
</a>
</g>
</g>
<!-- Node9&#45;&gt;Node10 -->
<g id="edge11" class="edge"><title>Node9&#45;&gt;Node10</title>
<path fill="none" stroke="midnightblue" d="M434.473,-169.665C448.609,-169.665 462.967,-169.665 475.569,-169.665"/>
<polygon fill="midnightblue" stroke="midnightblue" points="434.248,-166.165 424.248,-169.665 434.248,-173.165 434.248,-166.165"/>
</g>
<!-- Node12 -->
<g id="node12" class="node"><title>Node12</title>
<g id="a_node12"><a xlink:href="a00372.html#ga548153eb2eae76c48aa9d4b72258dc1c" target="_top" xlink:title="Send text or image data to the server. ">
<polygon fill="white" stroke="black" points="782.5,-21.1653 782.5,-40.1653 850.5,-40.1653 850.5,-21.1653 782.5,-21.1653"/>
<text text-anchor="middle" x="816.5" y="-28.1653" font-family="Helvetica,sans-Serif" font-size="10.00">dbwritetext</text>
</a>
</g>
</g>
<!-- Node11&#45;&gt;Node12 -->
<g id="edge14" class="edge"><title>Node11&#45;&gt;Node12</title>
<path fill="none" stroke="midnightblue" d="M726.513,-23.57C745.596,-25.0916 765.899,-26.7104 782.286,-28.017"/>
<polygon fill="midnightblue" stroke="midnightblue" points="726.619,-20.0674 716.373,-22.7615 726.063,-27.0453 726.619,-20.0674"/>
</g>
<!-- Node14 -->
<g id="node14" class="node"><title>Node14</title>
<g id="a_node14"><a xlink:href="a00390.html#ga7a081cf9bb8f04ead12f0299fb7c4cd9" target="_top" xlink:title="tds_process_end() processes any of the DONE, DONEPROC, or DONEINPROC tokens. ">
<polygon fill="white" stroke="black" points="313.5,-78.1653 313.5,-97.1653 411.5,-97.1653 411.5,-78.1653 313.5,-78.1653"/>
<text text-anchor="middle" x="362.5" y="-85.1653" font-family="Helvetica,sans-Serif" font-size="10.00">tds_process_end</text>
</a>
</g>
</g>
<!-- Node13&#45;&gt;Node14 -->
<g id="edge16" class="edge"><title>Node13&#45;&gt;Node14</title>
<path fill="none" stroke="midnightblue" d="M275.314,-87.6653C288.171,-87.6653 301.352,-87.6653 313.416,-87.6653"/>
<polygon fill="midnightblue" stroke="midnightblue" points="275.099,-84.1654 265.099,-87.6653 275.099,-91.1654 275.099,-84.1654"/>
</g>
<!-- Node15 -->
<g id="node15" class="node"><title>Node15</title>
<g id="a_node15"><a xlink:href="a00390.html#ga39453d084f3f780ac4602d4abf2839f7" target="_top" xlink:title="tds_process_default_tokens() is a catch all function that is called to process tokens not known to ot...">
<polygon fill="white" stroke="red" points="460,-34.6653 460,-64.6653 572,-64.6653 572,-34.6653 460,-34.6653"/>
<text text-anchor="start" x="468" y="-52.6653" font-family="Helvetica,sans-Serif" font-size="10.00">tds_process_default</text>
<text text-anchor="middle" x="516" y="-41.6653" font-family="Helvetica,sans-Serif" font-size="10.00">_tokens</text>
</a>
</g>
</g>
<!-- Node14&#45;&gt;Node15 -->
<g id="edge17" class="edge"><title>Node14&#45;&gt;Node15</title>
<path fill="none" stroke="midnightblue" d="M411.546,-75.6141C426.92,-71.7579 444.06,-67.4588 459.897,-63.4866"/>
<polygon fill="midnightblue" stroke="midnightblue" points="410.578,-72.2485 401.73,-78.0763 412.281,-79.0382 410.578,-72.2485"/>
</g>
<!-- Node16 -->
<g id="node16" class="node"><title>Node16</title>
<g id="a_node16"><a xlink:href="a00390.html#gabfc9de1d1fe718818caf63a4be4035a6" target="_top" xlink:title="process all streams. ">
<polygon fill="white" stroke="red" points="608,-84.1653 608,-103.165 720,-103.165 720,-84.1653 608,-84.1653"/>
<text text-anchor="middle" x="664" y="-91.1653" font-family="Helvetica,sans-Serif" font-size="10.00">tds_process_tokens</text>
</a>
</g>
</g>
<!-- Node14&#45;&gt;Node16 -->
<g id="edge22" class="edge"><title>Node14&#45;&gt;Node16</title>
<path fill="none" stroke="midnightblue" d="M421.699,-88.8312C475.551,-89.9101 555.035,-91.5024 607.882,-92.5611"/>
<polygon fill="midnightblue" stroke="midnightblue" points="421.688,-85.3304 411.62,-88.6293 421.548,-92.329 421.688,-85.3304"/>
</g>
<!-- Node15&#45;&gt;Node16 -->
<g id="edge18" class="edge"><title>Node15&#45;&gt;Node16</title>
<path fill="none" stroke="midnightblue" d="M576.494,-67.5951C595.229,-73.2412 615.194,-79.258 631.218,-84.087"/>
<polygon fill="midnightblue" stroke="midnightblue" points="577.421,-64.219 566.837,-64.6845 575.401,-70.9213 577.421,-64.219"/>
</g>
<!-- Node16&#45;&gt;Node1 -->
<g id="edge21" class="edge"><title>Node16&#45;&gt;Node1</title>
<path fill="none" stroke="midnightblue" d="M597.624,-101.604C589.007,-102.64 580.292,-103.682 572,-104.665 403.628,-124.631 204.27,-147.63 110.241,-158.44"/>
<polygon fill="midnightblue" stroke="midnightblue" points="598.154,-105.066 607.664,-100.395 597.317,-98.1159 598.154,-105.066"/>
</g>
<!-- Node16&#45;&gt;Node2 -->
<g id="edge20" class="edge"><title>Node16&#45;&gt;Node2</title>
<path fill="none" stroke="midnightblue" d="M730.368,-93.6653C738.807,-93.6653 747.416,-93.6653 755.758,-93.6653"/>
<polygon fill="midnightblue" stroke="midnightblue" points="730.186,-90.1654 720.186,-93.6653 730.186,-97.1654 730.186,-90.1654"/>
</g>
<!-- Node16&#45;&gt;Node12 -->
<g id="edge19" class="edge"><title>Node16&#45;&gt;Node12</title>
<path fill="none" stroke="midnightblue" d="M697.416,-80.0956C726.031,-68.1175 767.035,-50.9531 792.427,-40.3237"/>
<polygon fill="midnightblue" stroke="midnightblue" points="695.731,-77.007 687.858,-84.097 698.434,-83.4641 695.731,-77.007"/>
</g>
</g>
</svg>