Jörg,
Don't include 'GO'. It's not a T-SQL statement but Query Analyzer batch separator. Only QA recognize it.
>Hi Sergey,
>
>aerror is telling me somthing about 'too few arguments'! The procedure contains just this:
>
>CREATE PROCEDURE dbo.sp_DisableTrigger @tnOnOff numeric=1 AS
>begin
>
>end
>GO
>
>This procedure is stored in an local variable t and I try to send it with
>sqlExec(h,t), where h is containing the handle.
>
--sb--