Archive for the ‘Oracle Queries’ Category

Disable Auditing In A 11G Database

November 18th, 2017, posted in Oracle Queries
Share

In a RAC Database :

 

SQL> ALTER SYSTEM SET audit_trail=NONE SCOPE=spfile sid='*';
System altered.
SQL>

Note : Restart the database to have the change take affect, or do a rolling restart, one instance at a time.




In a Single Instance Database :

 

SQL> ALTER SYSTEM SET audit_trail=NONE SCOPE=spfile ;
System altered.
SQL>

Note : Restart the database to have the change take affect.

Share

Find The Inventory Organizations Assigned To Ones Operating Unit

November 6th, 2017, posted in Oracle Queries
Share
SELECT hou.NAME operating_unit_name,Oracle : Size Of Database,Oracle,Size Of Database,Database,data files, redo log files, control files, temporary files,Oracle data files,Oracle redo log files,Oracle control files,Oracle temporary files,Enabling And Checking the Status of Flashback On Database,Oracle Database,Oracle DBA,Enabling Flashback On Database,Checking the Status of Flashback On Database, Status of Flashback On Database, Enable Flashback On Database, Enabling Flashback On Database,Enable Flashback On Oracle Database, Enabling Flashback On Oracle Database,
hou.short_code,
hou.organization_id operating_unit_id,
hou.set_of_books_id,
hou.business_group_id,
ood.organization_name inventory_organization_name,
ood.organization_code Inv_organization_code,
ood.organization_id Inv_organization_id,
ood.chart_of_accounts_id
FROM hr_operating_units hou,
org_organization_definitions ood
WHERE 1 = 1
AND hou.organization_id = ood.operating_unit
ORDER BY hou.organization_id ASC;
Share

Query To Find Users Who Have A Responsibility

October 22nd, 2017, posted in Oracle Queries
Share

Enabling And Checking the Status of Flashback On Database,Oracle Database,Oracle DBA,Enabling Flashback On Database,Checking the Status of Flashback On Database, Status of Flashback On Database, Enable Flashback On Database, Enabling Flashback On Database,Enable Flashback On Oracle Database, Enabling Flashback On Oracle Database,ORA-01153: an incompatible media recovery is active,ORA-01153,Oracle Error,Ora Error,Oracle DBA,Oracle Database Error,Oracle Database Solution,an incompatible media recovery is active,Ora : an incompatible media recovery is active,Oracle an incompatible media recovery is active,Oracle Error Solution,Database DBA,oracle data guard,oracle data guard issues,oracle data guard error

select usr.user_id, usr.user_name, res.RESPONSIBILITY_ID, res.RESPONSIBILITY_NAME
from apps.FND_USER usr, apps.FND_RESPONSIBILITY_TL res, apps.FND_USER_RESP_GROUPS grp
where upper(res.RESPONSIBILITY_NAME) like upper('%' || NVL('&EnterRespName', 'INV')|| '%')
and upper(res.RESPONSIBILITY_NAME) NOT like '%AX%'
and upper(res.RESPONSIBILITY_NAME) NOT like '%OPM%'
and grp.responsibility_id = res.responsibility_id
and grp.user_id = usr.user_id;
Share

Oracle EBS Upgrade 12.1.1 to 12.1.3

September 18th, 2017, posted in Oracle Queries
Share

oracle dba,oracle apps dba,apps dba,dba,oracle application,oracle database,oracle,Oracle EBS Upgrade 12.1.1 to 12.1.3,Oracle EBS Upgrade,12.1.1 to 12.1.3,Oracle EBS Upgrade DBA,DBA EBS Upgrade 12.1.1 to 12.1.3,EBS Upgrade,oracle ebs,oracle upgrade,

Some Links To Oracle EBS Upgrade 12.1.1 to 12.1.3 :

http://sankaramaddi.blogspot.com/2015/11/ebs-upgrade-1211-to-1213.html

http://ermanarslan.blogspot.com/2013/09/ebs-1211-to-1213-upgrade-steps.html

https://oracleminds.wordpress.com/2011/12/22/how-did-i-upgrade-our-oracle-ebs-from-r12-1-1-to-12-1-3/

http://otn-world.blogspot.com/2013/12/upgrade-oracle-ebs-r1211-to-1213.html

http://oracledbawings.blogspot.com/2011/07/upgrade-ebs-1211-to-1213.html

http://chandrasekarsivasamy.blogspot.com/2012/08/oracle-applications-upgrade-from-1211.html

Share

To find the ROW Counts of tables that belongs to a Particular Schema

September 12th, 2017, posted in Oracle Queries
Share
select table_name,num_rows counter from dba_tables where owner=’Schema_name’ order by table_name;
Share