I have a developer who has built a crystal report to pull data back from sql2000 server.For some data the report works fine. Others it hangs.
I ran profiler and captured this when it fails:
exec [RUHDischargeSummary]..sp_procedure_params_rowset N'PrintSummary', 1, NULL, NULL
This statement completes but app then stops.
I have found that sp_procedure_params_rowset returns information about parameters for my stored procedure PrintSummary.
When succesful the profiler captures the next command which is the printsummary proc follwed by the parameters. I can run the stored proc with the parameters that cause failure and all completes OK.
Can you help?
Thanks