mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 09:40:21 +00:00
* Add additional PL/SQL file extensions * Add PL/SQL samples for .ddl and .prc * Fix sort order of PL/SQL extensions * Restore vendor/grammars/assembly. * Restore `pls` as primary PL/SQL extension * Add tpb to go with tps
13 lines
265 B
Plaintext
13 lines
265 B
Plaintext
create or replace procedure print_bool(
|
|
p_bool in BOOLEAN,
|
|
p_true_value in varchar2 default 'TRUE',
|
|
p_false_value in varchar2 := 'FALSE'
|
|
)
|
|
as
|
|
begin
|
|
|
|
dbms_output.put_line(case when p_bool then p_true_value else p_false_value end);
|
|
|
|
end print_bool;
|
|
/
|