SQL Script not executing - 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!

scotty g
Posts: 7
Joined: Thu Jul 09, 2009 3:30 pm

SQL Script not executing

I've added a Connection (which works) and a script to my project. When it get's executed I get the following error:
Could not find stored procedure 'A'
Here's the SQL in the script file:

Code: Select all

ALTER TABLE dbo.BackgroundMatch ADD FirstName VARCHAR(50), LastName VARCHAR(50), ExState CHAR(2), Zip varchar(10), Birthdate varchar(10), PhotoName nvarchar(255), SourceURL nvarchar(255), Street varchar(50), City varchar(50), [State] CHAR(2) 
This code works on it's own in Mgmt Studio but doesn't seem to execute correctly when run from AI. Does it have problems with ALTER Table statements?

thanks in advance,
Scott
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: SQL Script not executing

Hi Scott,

I am not sure what is causing this behavior. Please send a sample project (along with the SQL File) that accurately reproduces this behavior to support at advancedinstaller dot com, so we can further investigate the issue.

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”