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!

cola
Posts: 2
Joined: Thu Apr 19, 2007 1:18 am

SQLExecDirect{SQL Error} - HELP!

Hi I am running a script on a database and I get this error no matter the complexity of the SQL, even a simple create table statement will pull this error.

SQLExecDirect{SQL Error}:[Microsoft][ODBC SQL Server Driver][SQL Server]Line 1: Incorrect syntax near ''.

Could this mean that there may be something wrong with my database connection or the database itself instead?

I test the connection using windows authentication.

I am currently trying to make a small version to send to your support team...

Any help is appreciated!
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

We have answered your question via e-mail. You can post here more details about the problem for other user who may encounter the same problem.

Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
cola
Posts: 2
Joined: Thu Apr 19, 2007 1:18 am

My problem lay in the fact that I had encoded my SQL files incorrectly. The SQL files were UTF-16 encoded, AI supports only ASCII or ANSI SQL input files.

Thanks for all your help!

Return to “Common Problems”