File: casewhen_procedure.sql

package info (click to toggle)
sqlparse 0.5.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 948 kB
  • sloc: python: 5,560; sql: 167; makefile: 115; sh: 14
file content (8 lines) | stat: -rw-r--r-- 150 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
create procedure procName()
begin
  select case when column = 'value' then column else 0 end;
end;
create procedure procName()
begin
  select 1;
end;