From Simon Hobbs

Main: Oracle

To Start Oracle

> su - oracle
> sqlplus /nolog
sqlplus> connect / as sysdba;
sqlplus> startup;
sqlplus> exit;
> lsnrctrl start

To get all columns for a table

to get all tables

Change oracle memory

Make read only partitioned tabled writable again

select 'alter tablespace ' || tablespace_name  || ' read write;'
from dba_tablespaces
where status = 'READ ONLY';

CLOBS

dbms_lob.substr(debug.ERROR, 6, 1) = '<ERROR'

to see what sql was just run:

select * from v$sql order by first_load_time desc;

Retrieved from http://www.simonhobbs.co.uk/wiki2/pmwiki.php/Main/Oracle
Page last modified on June 30, 2010, at 01:06 PM