You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<tdclass="doc">Executes the content of the <spanclass="name">sqlScriptFileName</span> as SQL commands. Useful for setting the database to a known state before running your tests, or clearing out your test data after running each a test.<br/>
424
+
<br/>
425
+
SQL commands are expected to be delimited by a semi-colon (';').<br/>
426
+
<br/>
427
+
For example: delete from person_employee_table; delete from person_table; delete from employee_table;<br/>
428
+
<br/>
429
+
Also, the last SQL command can optionally omit its trailing semi-colon.<br/>
430
+
<br/>
431
+
For example: delete from person_employee_table; delete from person_table; delete from employee_table<br/>
432
+
<br/>
433
+
Given this, that means you can create spread your SQL commands in several lines.<br/>
434
+
<br/>
435
+
For example: delete from person_employee_table; delete from person_table; delete from employee_table<br/>
436
+
<br/>
437
+
However, lines that starts with a number sign (<spanclass="name">#</span>) are treated as a commented line. Thus, none of the contents of that line will be executed.<br/>
438
+
<br/>
439
+
For example: # Delete the bridging table first... delete from person_employee_table; # ...and then the bridged tables. delete from person_table; delete from employee_table</td>
440
+
</tr>
418
441
<tr>
419
442
<tdclass="kw"><aname="Query"></a>Query</td>
420
443
<tdclass="arg">selectStatement</td>
@@ -470,9 +493,9 @@ <h2>Keywords</h2>
470
493
</tr>
471
494
</table>
472
495
<pid="footer">
473
-
Altogether 5 keywords.<br/>
496
+
Altogether 6 keywords.<br/>
474
497
Generated by <ahref="http://code.google.com/p/robotframework/wiki/LibraryDocumentationTool">libdoc.py</a>
0 commit comments