Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Sybase > Preventing retu...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 2429 of 2504
Post > Topic >>

Preventing returning results sets from a procedure, when it is called

by AMOS <am12348@[EMAIL PROTECTED] > Mar 25, 2008 at 08:46 AM

Hello everyone,

My application activates procedure A that activates procedure B
Stored procedure B performs a tables' update and its
last statement is:

Select field1, field2,..
From TABLE_NAME
Where condition

Namely,  in the end of the procedure a  results set is retrieved to
the application

When procedure B is activated directly,  there   is not a problem.

However when the application activates   procedure A,  that  calls to
procedure B, it encounters problems, because it needs only procedure
A's results sets.

Of course to overcome this problem , I can add an additional parameter
to procedure B, that is null by default and the results set return is
performed  , only if it has a non null value.


Is there a better way in Sybase to prevent returning results set by
procedure B without introducing a special change in it.

 If the answer is positive, I will be grateful to get an example code
and the number of the Sybase version that enables that.

Thank you in advance,
Amos




 1 Posts in Topic:
Preventing returning results sets from a procedure, when it is c
AMOS <am12348@[EMAIL P  2008-03-25 08:46:21 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan13V112 Fri Jul 4 15:52:16 CDT 2008.