Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2002
    Posts
    104

    Unanswered: case...is it dependent upon version?

    Hello All,

    Can somebody confirm me whether case statement is version dependent...or not

    as when i try a piece of code in sybase 11.0.3
    it gives me error

    while the same piece of code works fine in sybase12.5

    code is like

    declare @abc char(10)
    select @abc="Pooja"
    select
    case
    when @abc = "Pooja"
    then "T"
    else "N"
    end

    thanx in advance,
    Pooja Gupta

  2. #2
    Join Date
    Aug 2002
    Location
    Madrid, Spain
    Posts
    97

    Re: case...is it dependent upon version?

    Originally posted by pooja
    Can somebody confirm me whether case statement is version dependent...or not

    as when i try a piece of code in sybase 11.0.3
    it gives me error
    Pooja Gupta
    Yes. Unfortunately, "case" was not yet available
    as of 11.0.3.

    Regards,
    Mariano Corral

  3. #3
    Join Date
    Dec 2002
    Posts
    104

    Re: case...is it dependent upon version?

    Originally posted by corral
    Yes. Unfortunately, "case" was not yet available
    as of 11.0.3.

    Regards,
    Mariano Corral
    thanx
    Pooja

Posting Permissions

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