7. A system comprising: a processor; and a memory coupled with and readable by the processor and storing a set of instructions which, when executed by the processor, causes the processor to perform static analysis of one or more query expressions embedded in programming language source code by: extracting the one or more query expressions from the programming language source code, wherein extracting the one or more query expressions and performing the static analysis comprises reading the source code in which the one or more query expressions are embedded, parsing the source code in which the one or more query expressions are embedded, extracting query expression code for the one or more query expressions from the parsed source code, creating a procedure from the extracted query expression code, and compiling the created procedure; performing the static analysis on the extracted one or more query expressions, wherein performing the static analysis further comprises detecting a collision between triggers in the extracted one or more query expressions based on said analyzing and applying one or more user defined rules to the created procedure, the one or more user defined rules defining guidelines and conventions for the query expressions and in response to any of the extracted one or more query expressions violating the one or more user defined rules, generating an error or warning; and reporting results of performing the static analysis on the one or more query expressions, wherein the results relate errors and warning generated by performing the static analysis to the source code from which the one or more query expressions are extracted.
9. The system of claim 7 , wherein performing the static analysis further comprises: analyzing use of one or more database tables by the extracted one or more query expressions; generating an error or warning based on detecting the collision.