following code (especially the line with storedprocname :=)
Code: Select all
  sp := TMSStoredProc.Create(nil);
  sp.Connection := amsconnection;
  sp.StoredProcName := 'dbo.somestoredsp';
Code: Select all
SET NO_BROWSETABLE OFF
exec [tt].[sys].sp_procedure_params_100_rowset N'somestoredsp',1,N'dbo',NULL
is there a way to get rig of those 3 weird commands? it slows down much the execution of stored procedures...
Thanks for tips, Ludek.