sql script execution fails - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

jicr74
Posts: 4
Joined: Thu Dec 20, 2012 11:17 pm

sql script execution fails

The most graceful feature of AI is the ability to create db from installation, and the task to configure this is easy, in fact intuitive, however there must be something one misses when handling sql server 2008 statements, the odbc driver seems to unrecognize statements such SET, IF, SELECT , throwing errors like "[SQLExecDirect]{SQL_ERROR}:{SQL_SATATE:42000}[Microsoft][Sql Server Native Client 10.0][SQL server] Incorrect sintax near S".
thats when trying to execute a SET statement that otherwise in a microsoft qeury edit tool works well.
what am I missing??
jicr74
Posts: 4
Joined: Thu Dec 20, 2012 11:17 pm

Re: sql script execution fails

We'll a bit of common sense, the encoding of my file had to be UTF-8, that solved the problem, Hope this helps

Return to “Common Problems”