Rule Definition
There should not be more than one statement per line of code.
Statements are separated by ';'.
When writing many statements on the same line, code becomes more difficult to read and therefore more difficult to maintain.
Remediation
Check the statement and if so, edit code to have one single statement per line
Violation Code Sample
SELECT AU_ID, AU_LNAME, AU_FNAME FROM AUTHORS; SELECT STOR_ID, STOR_NAME FROM STORES;
Fixed Code Sample
SELECT AU_ID, AU_LNAME, AU_FNAME FROM AUTHORS;
SELECT STOR_ID, STOR_NAME FROM STORES;
Related Technologies
Technical Criterion
Documentation - Style Conformity
About CAST Appmarq
CAST Appmarq is by far the biggest repository of data about real IT systems. It's built on thousands of analyzed applications, made of 35 different technologies, by over 300 business organizations across major verticals. It provides IT Leaders with factual key analytics to let them know if their applications are on track.