A script cannot include GO statements because they are not part of T-SQL. See
Re: Execute .sql file Message #
976613>How do I do the above? I have tried below but it dies not work. Where do I miss out?
>
>lccmd = FILETOSTR("myscript.sql")
>? sqlexec(ln, lccmd)
>
--sb--