MS SQL Server Script cannot handle GOTO statements
Posted: Tue Aug 21, 2007 7:03 am
Hi,
After investigating why my script keeps on failing when running through IA setup and not through SQL Server Management Studio I found that my scripts are brokern up at each GO statement. However, since some of my stored procedures contain GOTO statements, it seem to be broken up on these lines as well. Since the half extracted command (between the last GO statement and the GOTO statement) is not valid, it fails the installation. I very strongly assume that IA is breaking my script up in chunks
Has anybody encounter this and have a solution or work-around?
Thanks
After investigating why my script keeps on failing when running through IA setup and not through SQL Server Management Studio I found that my scripts are brokern up at each GO statement. However, since some of my stored procedures contain GOTO statements, it seem to be broken up on these lines as well. Since the half extracted command (between the last GO statement and the GOTO statement) is not valid, it fails the installation. I very strongly assume that IA is breaking my script up in chunks
Has anybody encounter this and have a solution or work-around?
Thanks