# treat blank lines as statement delimiters

**URL:** <https://forums.toadworld.com/t/treat-blank-lines-as-statement-delimiters/5905>\
**Category:** Toad Data Point & Toad Intelligence Central\
**Created:** [October 2, 2008, 1:03pm UTC](https://forums.toadworld.com/t/treat-blank-lines-as-statement-delimiters/5905 "2008-10-02T13:03:29Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![craigwinger](https://avatars.discourse-cdn.com/v4/letter/c/b782af/32.png) [@craigwinger](https://forums.toadworld.com/u/craigwinger)\
**Post date:** [October 2, 2008, 1:03pm UTC](https://forums.toadworld.com/t/treat-blank-lines-as-statement-delimiters/5905/1 "2008-10-02T13:03:29Z")

</div>

in previous versions of TDA you could set this option and then have multiple queries option in the same session, and hitting f9 would run the query you were on. This doesn’t not seem to work TDA 2.0.

---

<div class="post-metadata">

**Author:** ![HillbillyToad](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/hillbillytoad/32/190_2.png) [@HillbillyToad](https://forums.toadworld.com/u/HillbillyToad)\
**Post date:** [October 3, 2008, 9:04am UTC](https://forums.toadworld.com/t/treat-blank-lines-as-statement-delimiters/5905/2 "2008-10-03T09:04:46Z")

</div>

I can confirm this behavior.

As a workaround, you can highlight the SQL statement you want to run and hit F9.

---

<div class="post-metadata">

**Author:** ![craigwinger](https://avatars.discourse-cdn.com/v4/letter/c/b782af/32.png) [@craigwinger](https://forums.toadworld.com/u/craigwinger)\
**Post date:** [October 3, 2008, 9:21am UTC](https://forums.toadworld.com/t/treat-blank-lines-as-statement-delimiters/5905/3 "2008-10-03T09:21:48Z")

</div>

Thanks for the reply. True … highlighting the statement and hitting does work, but this is extremely awkward compared to just hitting F9 especially for large statements. Will the issue be fixed in a later release?

---

<div class="post-metadata">

**Author:** ![CalToad](https://avatars.discourse-cdn.com/v4/letter/c/b19c9b/32.png) [@CalToad](https://forums.toadworld.com/u/CalToad)\
**Post date:** [October 3, 2008, 1:31pm UTC](https://forums.toadworld.com/t/treat-blank-lines-as-statement-delimiters/5905/4 "2008-10-03T13:31:22Z")

</div>

Syntax checking does not appear to be honoring the Perform automatic syntax checks option under Editor -\> Tools when there’s not a statement delimiter. CR54642 has been created to investigate/address this issue.

-Alan

---

<div class="post-metadata">

**Author:** ![Henrik\_Johnson](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/henrik_johnson/32/14_2.png) [@Henrik\_Johnson](https://forums.toadworld.com/u/Henrik_Johnson)\
**Post date:** [October 6, 2008, 12:50pm UTC](https://forums.toadworld.com/t/treat-blank-lines-as-statement-delimiters/5905/5 "2008-10-06T12:50:06Z")

</div>

This feature was intentionally removed because it worked poorly (It messed with our parser). Just add a ; (At least if you are in Oracle) at the end of your statement and you get what you want in the current release (We will automatically figure out where the statements end).

/Mauritz

---

<div class="post-metadata">

**Author:** ![craigwinger](https://avatars.discourse-cdn.com/v4/letter/c/b782af/32.png) [@craigwinger](https://forums.toadworld.com/u/craigwinger)\
**Post date:** [October 6, 2008, 4:40pm UTC](https://forums.toadworld.com/t/treat-blank-lines-as-statement-delimiters/5905/6 "2008-10-06T16:40:29Z")

</div>

The semi colon works seems to work like described against Oracle databases, but doen’t work against DB2 databases.

---

<div class="post-metadata">

**Author:** ![alan.lewis](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/alan.lewis/32/46_2.png) [@alan.lewis](https://forums.toadworld.com/u/alan.lewis)\
**Post date:** [November 7, 2008, 7:22am UTC](https://forums.toadworld.com/t/treat-blank-lines-as-statement-delimiters/5905/7 "2008-11-07T07:22:00Z")

</div>

I don’t now Craig about the time line, and we’ll have to wait to hear from the developer to see how this will be treated, but they do already have a beta release for 2.Next available to try out. I checked the release notes and this hasn’t been officially addressed, but you can advocate for it there and get a fix potentially faster than waiting for an official upgrade and/or patch.
