RE: Toad For Oracle 11.0 display issues in Windows 10
Toad For Oracle 11.0 display issues in Windows 10
Hi,
I own a copy of TOAD for Oracle 11.0.0.116. I've recently installed it on a Windows 10 machine and all the dialog boxes display in a font size of 3pt.
I can barely see it. Does anyone else have this issue?
Either that or what config file can I go into to reset the size of the panels and the fonts?
Thanks!
RE: How can I change the formatting within expressions?
Hi Judy,
You have the formatter option List Arrangements -> Parameters probably set to "Stacked on more than" + 3 columns, which is the default.
You could try to set it to "Stacked on Overflow or More than" + 3 columns. Or play with the column count only.
Hope this helps,
Andre
How can I change the formatting within expressions?
This assignment statement:
category_entries (category_entries.LAST).org_code := TRIM (REGEXP_SUBSTR (v_line, '[^,]+', 1, 1));
Formats to:
category_entries (category_entries.LAST).org_code :=
TRIM (REGEXP_SUBSTR (v_line,
'[^,]+',
1,
1));
Which I find difficult to read within a long procedure with many such assignments. I can't find within Formatter which options to set that would prevent this.
Thanks!
RE: cross connection query builder
A question similar to this was also posted a few months ago, and the answer can be seen here:
http://www.toadworld.com/products/toad-for-oracle/f/10/t/30790
Toad for Oracle doesn't natively support doing cross-connection queries in Query Builder. There are some Oracle techniques (like Database Links) you can use to try to make it work in Toad for Oracle, but the Query Builder in Toad was designed to build queries within the current connection. For native support of cross-connection queries, I'd recommend taking a look at Toad Data Point.
For information about techniques you may be able to use to get it to work in Toad for Oracle, I'd recommend visiting the following Toad World post:
http://www.toadworld.com/products/toad-for-oracle/f/10/t/22396
-John
cross connection query builder
Using DBMS_OUTPUT with CONNECT
I have a script which is writing output to the DBMS Output window using dbms_output.put_line and which is shifting the session user using connect user[proxy]/password@connection.
The calls to put_line done before the connect statement show up; any calls after do not. Where are they going? How can I see them?
Example:
begin dbms_output.put_line('This line shows up'); end;
connect user[proxy]/password@connection;
begin dbms_output.put_line('This line is missing'); end;
RE: SQL error on script run in editor (bug)
No!
Toad misinterpreted pram values passed to script.
please look better in mine description
RE: SQL error on script run in editor (bug)
Did you try putting the string variables inside of quotes?
@sql_binds 1 "75undgc5qufbm" 10
RE: SQL error on script run in editor (bug)
Yes I did.
No error but no result as well:
no rows selected.Elapsed: 00:00:00.07
Here is the whole script-parameters explained on the begining
col name for a10
col VALUE_STRING for a35
col BEGIN_INTERVAL_TIME for a19 HEADING BEGIN_INTERVAL
col END_INTERVAL_TIME for a13 HEADING END_INTERVAL
col position for 90 HEADING POS
col A_ROWS HEADING ROWS
col EXECS for 999G990
col A_ROWS for 999G990
col ELA_SECS for 99G990D9990
col ELAPSED_TIME_TOTAL HEADING TOTAL_MIN
-- col ELAPSED_TIME_HEADING DELTA ELA_DELTA
set pages 1000
set linesize 180
break on iid on sql_id on PLAN_HASH_VALUE on snap_id on EXECS on A_ROWS on ELA_SECS on ELAPSED_TIME_TOTAL on begin_interval_time on end_interval_time
SELECT iid,
b.sql_id,
PLAN_HASH_VALUE PLAN_HASH_V,
b.name,
b.position,
'"'||value_string||'"' value_string,
EXECS,
A_ROWS,
ELA_SECS,
ELAPSED_TIME_TOTAL,
snap_id,
to_char (begin_interval_time, 'DD.MM hh24:mi:ss,ssss') begin_interval_time,
to_char (end_interval_time, 'hh24:mi:ss,ssss') end_interval_time
FROM (
SELECT /*+ USE_MERGE(sh,sql) ORDERED */
sh.instance_number iid,
sql_id,
PLAN_HASH_VALUE,
sh.snap_id,
begin_interval_time,
end_interval_time,
bind_data,
EXECUTIONS_DELTA EXECS,
ROWS_PROCESSED_DELTA A_ROWS,
CASE EXECUTIONS_DELTA
WHEN 0 THEN -1
ELSE ELAPSED_TIME_DELTA/1000000/EXECUTIONS_DELTA
END ELA_SECS,
ELAPSED_TIME_TOTAL/1000000/60 ELAPSED_TIME_TOTAL
FROM dba_hist_sqlstat sql, dba_hist_snapshot sh
WHERE 1 = 1
-- AND bind_data is not null
AND sql_id = '&&2'
AND sh.instance_number=&&1
AND SQL.INSTANCE_NUMBER=sh.instance_number
AND SQL.SNAP_ID = SH.SNAP_ID
AND begin_interval_time >= sysdate - &&3
) x,
TABLE (DBMS_SQLTUNE.extract_binds (x.bind_data)) xx,
DBA_HIST_SQL_BIND_METADATA b
where b.sql_id = x.sql_id
AND b.position = xx.position
ORDER BY iid, snap_id, PLAN_HASH_VALUE, b.position;
RE: SQL error on script run in editor (bug)
I got it to work with single quotes:
@sql_binds 1 '75undgc5qufbm' 10
RE: SQL error on script run in editor (bug)
Thx-work.
But then this is different than SQLPlus parameters.
Any rule here to know for the future use?
RE: SQL error on script run in editor (bug)
That's not my part of Toad - let's wait for one of the other devs to answer.
SQL error on script run in editor (bug)
Toad 12.10.0.30 x64
Next sql is in script called sql_binds and I call it inside Editor like:
"@sql_binds 1 75undgc5qufbm 10"
where call is made of:
@sql_binds [iid] [sql_id] [last_number_of_days]
I got error (and in sqlplus it run without any errors)
>> SELECT iid,
b.sql_id,
PLAN_HASH_VALUE PLAN_HASH_V,
b.name,
b.position,
'"'||value_string||'"' value_string,
EXECS,
A_ROWS,
ELA_SECS,
ELAPSED_TIME_TOTAL,
snap_id,
to_char (begin_interval_time, 'DD.MM hh24:mi:ss,ssss') begin_interval_time,
to_char (end_interval_time, 'hh24:mi:ss,ssss') end_interval_time
FROM (
SELECT sh.instance_number iid,
sql_id,
PLAN_HASH_VALUE,
sh.snap_id,
begin_interval_time,
end_interval_time,
bind_data,
EXECUTIONS_DELTA EXECS,
ROWS_PROCESSED_DELTA A_ROWS,
CASE EXECUTIONS_DELTA
WHEN 0 THEN -1
ELSE ELAPSED_TIME_DELTA/1000000/EXECUTIONS_DELTA
END ELA_SECS,
ELAPSED_TIME_TOTAL/1000000/60 ELAPSED_TIME_TOTAL
FROM dba_hist_sqlstat sql, dba_hist_snapshot sh
WHERE 1 = 1
-- AND bind_data is not null
AND sql_id = '75'
AND sh.instance_number=1
AND SQL.INSTANCE_NUMBER=sh.instance_number
AND SQL.SNAP_ID = SH.SNAP_ID
AND begin_interval_time >= sysdate - undgc5qufbm
) x,
TABLE (DBMS_SQLTUNE.extract_binds (x.bind_data)) xx,
DBA_HIST_SQL_BIND_METADATA b
where b.sql_id = x.sql_id
AND b.position = xx.position
ORDER BY iid, snap_id, PLAN_HASH_VALUE, b.position
*
Error at line 36
ORA-00904: "UNDGC5QUFBM": invalid identifier
Script Terminated on line 20 of u:\sql\sql_binds.SQL.
What i see is that second parameter "75undgc5qufbm" is not passed correctly to sql. It is represented as
AND sql_id = '75'
so what results with wrong bind on third part
AND begin_interval_time >= sysdate - undgc5qufbm
I hope this helps and is enough to find a bug
RE: How do I view output from executing a package?

How do I view output from executing a package?
RE: Macbook Toad for Oracle using Crossover
Macbook Toad for Oracle using Crossover
I tried the Toad for Mac edition and find it woefully underpowered. On my Windows 7 system, I pay for the Toad for Oracle Xpert including the DB Admin module, and I need the full functionality of that version.
I found the interesting blog post here http://www.toadworld.com/products/toad-for-oracle/b/weblog/archive/2012/04/25/run-toad-for-oracle-on-mac-os-x that says I can run the Windows version of Toad for Oracle by utilizing the Crossover software.
However, the article is somewhat dated, and I wonder if it is still accurate for Toad for Oracle version 12.6, and Mac OSX El Capitan?
Or if anybody has any more updated or better solutions, I would appreciate to learn of those.
Thanks
JimR
RE: ILM Script Support
The DBA_views is checked. I'm on 12.10 with 12.1 client. I added an ILM policy on a single partition with the syntax below. I don't see Toad generating the syntax as SYS or as the schema owner. I don't see the %ILM% views hit when spooling the Toad generated SQL. DBMS_METADATA.get_ddl picks up the ALTER TABLE at the end of the table DDL. I've tried table level ADO policies as well. as well with no luck.
ALTER TABLE static_studies_wrkld_base_f
MODIFY PARTITION static_studies_wrkld_basejrmc
ILM ADD POLICY ROW STORE COMPRESS ADVANCED ROW
AFTER 1 DAYS OF NO MODIFICATION;
Also loosely related for In-Database Archiving, I do see the "ROW ARCHIVAL" generated in the table DDL syntax.
RE: ILM Script Support
send me a ddl from dbms_metadata for the whole table and let me know the full Oracle server version. I'll try to reproduce it.
send to john.dorlon@software.dell.com if you don't want to post it to the forum.