PL/SQL (MOSC)

MOSC Banner

Including in a query if a column is null or the column is not null - Is this necessary?

edited Jan 11, 2010 2:50AM in PL/SQL (MOSC) 13 commentsAnswered ✓
  I think that the Developer  is including if the column is null or the column is not null and don't know if this is necessary to do.
Version 9.2.0.8 - Oralce Database Enterprise Edition.

SELECT * FROM (SELECT dsl_modems.pk_dsl_modem_id, dsl_modems.serial_number, mtm_dsl_modem_2_customer
.fk_dslam_port_id, mtm_dsl_modem_2_customer.fk_customer_id
FROM dsl_modems, mtm_dsl_modem_2_customer  
WHERE      mtm_dsl_modem_2_customer.fk_dsl_modem_id (+)= dsl_modems.pk_dsl_modem_id
AND      dsl_modems.fk_modem_status_id = 'WORKIN'
AND fk_dslam_port_id IS NULL 
AND dsl_modems.brand='ST716g'

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center