Home

Lines in a multiline comment should start with *

Rule description

  • Lines in a multiline comment should start with *

 

Non-compliant Code Example

SELECT 
/* 
Customer table is for holding customer data such as Name, Address, etc.  --Non compliant code
Also it contains some crucial information like Credit limit, amount spent etc. --Non compliant code
*/
    NAME,
    ADDRESS,
    CREDIT_LIMIT       
FROM
    CUSTOMERS

Compliant Code Example

SELECT 
/* 
* Customer table is for holding customer data such as Name, Address, etc.--Compliant code
* Also it contains some crucial information like Credit limit, amount spent etc.--Compliant code
*/
    NAME,
    ADDRESS,
    CREDIT_LIMIT       
FROM
    CUSTOMERS
Visual Expert 2020
 VEPLSQLRULE180