Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2009
    Posts
    16

    Unanswered: 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?

  2. #2
    Join Date
    Sep 2003
    Location
    Switzerland
    Posts
    443
    We cant figure out head or tails from what you posted.

    Please post the complete code.

  3. #3
    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...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •