I'm running a series of SQLs and would like to have title per SQL. However if no rows is returned for one of the SQLs I'm not getting the title for that specific SQL:
SQL:
output:
SQL:
Code:
ttitle 'sql 1'
select count(*)
from table1
/
ttitle 'sql 2'
select count(*)
from table2
/
ttitle 'sql 3'
select count(*)
from table3
/
output:
Code:
sql 1
count
-----
3
no rows selected
sql 3
count
-----
20
1 row selected