how to replace not in with not exist?



how to replace not in with not exist?..

Answer / Meenakshi Yadav

In Oracle SQL, you can use the COALESCE function to replace NOT IN with NOT EXISTS. Instead of NOT IN (SELECT column_name FROM table), you can write: SELECT * FROM table WHERE COALESCE(column_name, NULL) IS NOT NULL.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Oracle AllOther Interview Questions

Explain how to close periods in ar. : oracle accounts receivable

1 Answers  


When the procedures or packagess become invalidate

3 Answers   TCS,


how to write a query without using where? Example- select * from employee where empno=10 I need to write this query without where clause.

1 Answers   Alshaya,


Why more redos are generated when the oracle database is in begin backup mode?

1 Answers  


Can anybody tell which is the best training institute for learning Oracle in chennai...? And i also i want placement assurance

1 Answers  


8. Supporting AP, AR and GL?

1 Answers   Oracle,


what is debit memo and credit memo in AR?

1 Answers  


what is the link between suppliers and banks in ap module in oracle apps? And also query?

1 Answers   Polaris,


Should you take the backup of Logfiles if the database is running in ARCHIVELOG mode?

4 Answers  


QUESTION IS THAT DURING UPLOADING DATA IN PROD SERVER,OUR EQUIPMENT TAG NUMBERS ARE NOT MATCHING WITH SAP TAG NUMBERS SO DUE TO THIS WE ARE FACING PROB, BECAUSE WHENEVER ALARM IS COMING FROM SCADA DUE MISMATCH THE NOTIFICATION IS NOT CREATED IT IS GIVING ERROR. PLEASE SUGGEST THE METHOD SO THAT THE TAG NUMBERS OF BOTH (SCADA EQUIPMENT AND SAP EQUIP) SHOULD CONCIDE.OTHERWISE WE HAVE TO GO FOR LONG PROCESS EITHER BY INTERFACE TABLE OR BY EXPORTING ALL DATA AND MAKING RIGHT CHANGES.DO YOU HAVE ANY SHORTCT METHOD PL WRITE ME. THANKS

1 Answers   Telesis,


Why we are using primary key and foreign key in oracle and difference between primary key and foreign key?

1 Answers  


Hi I am searching for best oracle Apps institute? Please tel me which is best institute in hyderabad I am working in developer 6i....

2 Answers   Ion Exchange,


Categories
  • Oracle General Interview Questions Oracle General (1803)
  • Oracle DBA (Database Administration) Interview Questions Oracle DBA (Database Administration) (261)
  • Oracle Call Interface (OCI) Interview Questions Oracle Call Interface (OCI) (10)
  • Oracle Architecture Interview Questions Oracle Architecture (90)
  • Oracle Security Interview Questions Oracle Security (38)
  • Oracle Forms Reports Interview Questions Oracle Forms Reports (510)
  • Oracle Data Integrator (ODI) Interview Questions Oracle Data Integrator (ODI) (120)
  • Oracle ETL Interview Questions Oracle ETL (15)
  • Oracle RAC Interview Questions Oracle RAC (93)
  • Oracle D2K Interview Questions Oracle D2K (72)
  • Oracle AllOther Interview Questions Oracle AllOther (241)