How to uninstall / completely remove Oracle 11g (client)?

Assuming a Windows installation, do please refer to this: http://www.oracle-base.com/articles/misc/ManualOracleUninstall.php Uninstall all Oracle components using the Oracle Universal Installer (OUI). Run regedit.exe and delete the HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE key. This contains registry entires for all Oracle products. Delete any references to Oracle services left behind in the following part of the registry: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Ora* It should be pretty … Read more

How are dates stored in Oracle?

There are two types 12 and 13 http://oraclesniplets.tumblr.com/post/1179958393/my-oracle-support-oracle-database-69028-1 Type 13 select dump(sysdate) from dual; Typ=13 Len=8: 220,7,11,26,16,41,9,0 The format of the date datatype is Byte 1 – Base 256 year modifier : 220 2 – Base 256 year : 256 * 7 = 1792 + 220 = 2012 3 – Month : 11 4 – … Read more

How to describe performance issue in relational database?

For Oracle Database provide this information: Describe the symptoms of the problem Describe the behavior that cause the problem. Is the behavior of the query stable or does the problem occurs only sometimes, with specific parameters or simple random. Can you reproduce this behavior in an IDE (e.g. SQL Developer)? Describe the environment Define the … Read more

send a mail if count (*) >0 in oracle

The question is vague. I’m assuming that you are using oracle 10g and above.If you are trying to send mail through PL/SQL, you can use UTL_MAIL package. You can try something like CREATE OR REPLACE PROCEDURE p_test_mail AS var_count NUMBER; CURSOR c1 IS SELECT COUNT(*) FROM nb005 nb JOIN emp_reset_id e ON nb.qteref = qrc.emp_quote_ref … Read more