Shuli
-
Posts
2 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by Shuli
-
-
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 'CarsI 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
string results as characters
in SQL
Posted
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