Search
 
SCRIPT & CODE EXAMPLE
 

SQL

mysql equivalent decode oracle

create procedure ora_sp_decode2 (out job_level TEXT ) 
begin 
select CASE job_lvl
WHEN 1 THEN 'level 1
WHEN 2 THEN 'level 2'
ELSE 'Unknown level' end
into job_level from employee where job_id>0   ;
end ; 
Comment

PREVIOUS NEXT
Code Example
Sql :: oracle timestamp +1h 
Sql :: kimball data warehouse sql calendar 
Sql :: nested query with all examples 
Sql :: java hide mysql login credentials 
Sql :: how much table store postgres 
Sql :: pagination with row_number 
Sql :: supabase change timezozne 
Sql :: how to connect .sql data set to powerbi 
Sql :: Creating a comment and reply system PHP and MySQL 
Sql :: mysql offset from bottom 
Sql :: MySQL Min And As 
Sql :: sql table intermédiaire 
Sql :: power bi find all ids not in other tables 
Sql :: sqlc yml settings version 1.14 
Sql :: sql file md5 
Sql :: extract domain name from email id mariadb 
Sql :: sql group by and having 
Sql :: mysql Digital Ocean connection problems 
Sql :: mysql clone table with data and add attribute 
Sql :: what is logical database schema 
Sql :: sql script to get a type task on jira datbase for 12 months 
Sql :: write sql query to show the details start from digit 
Sql :: mysql sum per week 
Sql :: ring MySQL execute a query on the database then print the result. 
Sql :: show database size or specific database table size 
Sql :: least orders 
Sql :: pg_dump backup postgresql 
Sql :: sql values that contains certain multiple ids 
Sql :: sql server run procedure on all databases 
Sql :: sql parenthetical expression examples 
ADD CONTENT
Topic
Content
Source link
Name
3+1 =