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.
Also it contains some crucial information like Credit limit, amount spent etc.
*/
    NAME,
    ADDRESS,
    CREDIT_LIMIT       
FROM
    CUSTOMERS

Compliant Code Example

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