Why am I getting a syntax error when using the Prepare() method? The problem goes away without the 'addCustCmd.Prepare();'

Solution 1:

Each insert operation has to be a separate command to use prepared statements.

SQL syntax for prepared statements does not support multi-statements (that is, multiple statements within a single string separated by ; characters).

Documentation source