Queries

Embed Size (px)

DESCRIPTION

Queries

Citation preview

select b.tablespace_name, tbs_size SizeMb, a.free_space FreeMbfrom (select tablespace_name, round(sum(bytes)/1024/1024 ,2) as free_space from dba_free_space group by tablespace_name) a, (select tablespace_name, sum(bytes)/1024/1024 as tbs_size from dba_data_files group by tablespace_name) bwhere a.tablespace_name(+)=b.tablespace_name;------------------para ver table spaces------------------SQL---------------------------nohup ./distribution_monitor.sh -i -profile import_profile &I think is this one:delete from sapr3.usr02 where bname = SAP* and mandt = 000;commit; CHANGING THE SAP* PASSWORD Set the profile parameter "login/no_automatic_user_sapstar" to 0 and, in sqlplus, run the lines "delete from sapr3.usr02 where bname = 'SAP*' and mandt = '000';" and "commit;" then restart the system and, when the system comes back up, the password will be "PASS".select BNAME, MANDT from sapsr3.usr02 where bname = 'SAP*' and mandt = '000';delete from sapsr3.usr02 where bname = 'SAP*' and mandt = '000';delete from sapc61.usr02 where bname = 'SAP*'