Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

running stored procedure through interactive sql session.

Status
Not open for further replies.

zippyhm

Programmer
Jan 8, 2003
7
GB
I am new to sybase server, and am having some trouble debugging. Can anyone tell me how to run stored procedure with more than 1 argument passed in in the interactive sql sessions for testing????

any help would be much appreciated.
cheers
zippy
 
Hi,

On isql you can execute the procedure with the procedure name and argument/s. If you want to execute only a part of the entire procedure, you may comment the unrequired part through vi editor and save the file. The command to create the procedure is :r <filename>

Thereafter, you may try executing the procedure from the same isql window and you can check the result. Similarly you can go step by step to check the complete procedure.

I am not sure whether this is what you are looking for. Pls write to me in case you want something else.

Regards,
Joson
 
Thanks Joson.

What I actually meant was just how to syntax the arguments at the end (silly right?)

I was doing foo(x,y)
when all I needed was foo x, y

I have been working in informix soo long and assume everything else is the same (which is not a bad assumption most of the time).

Thanks for taking the time to reply to my thread.
Have a nice day
Zippy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top