If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Sybase > Stored procedure boolean value

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-18-09, 12:22
xotesa xotesa is offline
Registered User
 
Join Date: Jun 2009
Posts: 16
Stored procedure boolean value

Hello people.

I have a boolean value which comes true or false from java code.
And there is a stored procedure which i check if it is true or false.


@mybooleanValue bit


if(@mybooleanvalue=1)


Does this work if my value comes true from java code?
Reply With Quote
  #2 (permalink)  
Old 06-24-09, 18:47
trvishi trvishi is offline
Registered User
 
Join Date: Sep 2003
Location: Switzerland
Posts: 443
We cant figure out head or tails from what you posted.

Please post the complete code.
Reply With Quote
  #3 (permalink)  
Old 06-25-09, 15:39
darshanmeel darshanmeel is offline
Registered User
 
Join Date: Jun 2009
Posts: 2
Yes.

You can do that.You are passing the param as bit and then using that inside the proc.It will work just fine as you thought...
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On