# Run as script fails, \<F5\>, but run statement and show all records, \<F9\>, suceeds

**URL:** <https://forums.toadworld.com/t/run-as-script-fails-f5-but-run-statement-and-show-all-records-f9-suceeds/39314>\
**Category:** Toad for Oracle - Beta\
**Created:** [April 10, 2017, 6:13am UTC](https://forums.toadworld.com/t/run-as-script-fails-f5-but-run-statement-and-show-all-records-f9-suceeds/39314 "2017-04-10T06:13:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![wickliffe.larry](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/wickliffe.larry/32/228_2.png) [@wickliffe.larry](https://forums.toadworld.com/u/wickliffe.larry)\
**Post date:** [April 10, 2017, 6:13am UTC](https://forums.toadworld.com/t/run-as-script-fails-f5-but-run-statement-and-show-all-records-f9-suceeds/39314/1 "2017-04-10T06:13:01Z")

</div>

Good Morning TOAD Team,

```
    This is too weird. I'm running the latest beta, 12.11.0.63. Run as script fails, <F5>, but run statement and show all records, <F9>, succeeds. Full script attached as it is long.

    My usual timing script:

```

select to\_char(SYSTIMESTAMP,‘HH24:MI:SSxFF’) as “Start” from dual;

/\* Statement to tune \*/

Select …

select to\_char(SYSTIMESTAMP,‘HH24:MI:SSxFF’) as “End” from dual;

```
    Run as script , <F5>, fails with the following error on the test script, but there is no error running the SQL under test <F9>:

```

Start

* * *

08:50:13.055367

1 row selected.

Error at line 16

An invalid character was found in text content.

End

* * *

08:52:39.428086

1 row selected.  
[9130Full\_original.sql](https://global.discourse-cdn.com/quest/original/2X/c/c47d824812b54dba3a03af5b42329ece016dc052.sql) (12.6 KB)
