You are right and I must have been blind! But some of them still don't work. But they do if I transfer them by 'cut and paste'. Strange isn't it?!
Regards
>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.
>>