SQLT

SQLT should generally only be used under guidance from Oracle Support. Consider SQLHC as  a user friendly alternative.

Version

COL sqlt_version FOR A40;

SELECT

'SQLT version number: '||sqltxadmin.sqlt$a.get_param('tool_version')||CHR(10)||

'SQLT version date  : '||sqltxadmin.sqlt$a.get_param('tool_date')||CHR(10)||

'Installation date  : '||sqltxadmin.sqlt$a.get_param('install_date') sqlt_version

FROM DUAL

/

Install

This will result in SQLT being installed in /u01/dba/sqlt

cd /u01/dba/sqlt/install

sqlplus / as sysdba

START sqcreate.sql

You will be prompted for:

GRANT INHERIT PRIVILEGES ON USER SYS TO SQLTXADMIN

Deinstall

cd /u01/dba/sqlt/install

@sqdrop

Usage

For full usage instructions see: SQLT Usage Instructions (Doc ID 1614107.1) Some examples follow...

XTRACT

Login as the user who owns the SQL with the SQLID you want.

cd /u01/dba/sqlt/run

sqlplus user/password

START sqltxtract.sql &SQLID &sqltxplain_password

This will generate a zip file under /u01/dba/sqlt/run.

For an example of how this may be useful see the Troubleshooting section of: fix_control

Bibliography