mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
New extension support for PL/SQL language (#2735)
* 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
This commit is contained in:
committed by
Colin Seymour
parent
db15d0f5d2
commit
f146b4afbd
12
samples/PLSQL/print_bool.prc
Normal file
12
samples/PLSQL/print_bool.prc
Normal file
@@ -0,0 +1,12 @@
|
||||
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;
|
||||
/
|
||||
Reference in New Issue
Block a user