OneEyeMan, the article you linked to is tracking data changes, not schema changes. At any rate, I suggested that you run the scripts inside SQLServer Management Studio (SSMS) before trying to execute them in c++ code. You should resolve any issues in the scripts in SSMS. That way it will be easier when you run the script in c ++ if you know it works to begin with. Be aware that certain database permissions are required to manipulate the service broker. The user that you connect to SSMS or ODBC with will need these permissions.