I am trying to run a simple stored procedure in the SQL Data Manager, to test using the PRINT command, and eventually to test passing parameters.
This is the code I'm using:
I first run the "create procedure" statement, and it comes back successfully. I then run the "call Printest" statement and it hangs. When I click the "execute" button it stays pressed in and the program eventually says "Not Responding" in the title bar (under Win2003Server).
This is using SQLDM 8.00.114.000. I've tried this on both Win2003Server and Win2000.
My expectation is that I'm calling something incorrectly, but I don't know what. I think I'm matching the syntax shown in the examples in the help. Or maybe PRINT doesn't work in SQLDM? I've also tried it using "with default handler" but it hangs just the same.
Thanks for any info on this.
- Todd
This is the code I'm using:
Code:
create procedure PrintTest();
begin
print 'this is PrintTest';
end;
#
call PrintTest
This is using SQLDM 8.00.114.000. I've tried this on both Win2003Server and Win2000.
My expectation is that I'm calling something incorrectly, but I don't know what. I think I'm matching the syntax shown in the examples in the help. Or maybe PRINT doesn't work in SQLDM? I've also tried it using "with default handler" but it hangs just the same.
Thanks for any info on this.
- Todd