Home

Comments should not be nested

Rule description

  • Comments should not be nested

 

Non-compliant Code Example

SELECT 
/*   --Non compliant code (Nested comments)
Select Name, Address, Credit Limit columns in the customer table  
/*Compliant code (Comment is mentioned in the new line)/*
*/
    NAME,
    ADDRESS,
    CREDIT_LIMIT       
FROM
    CUSTOMERS
Visual Expert 2020
 VEPLSQLRULE129