Jump to content

Shuli

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by Shuli

  1. Hi,

    How can I show string  results as characters in sql plus?

    select*
    from example a  
    where a.insert_time>='12-dec19' and a.status=1 as 'Cars

     

    I want that if 'status' field status result would show '1'  the the output  would show 'Cars'

    and if the result would show '2' the the output  would show 'Bikes' instead of strings.

    Best regards

  2. Hi,

    How can I show string  results as characters in sql plus?

    select*
    from example a  
    where a.insert_time>='12-dec19' and a.status=1 as 'Cars

     

    I want that if 'status' field status result would show '1'  the the output  would show 'Cars'

    and if the result would show '2' the the output  would show 'Bikes' instead of strings.

    Best regards

×
×
  • Create New...