Optimised SQL Insert code-generation.