aonestar
.public
Tables
(current)
Columns
Constraints
Relationships
Orphan Tables
Anomalies
Routines
sp_delete_batch_report
Parameters
Name
Type
Mode
batch_id
integer
IN
Definition
declare res json; begin --perform sp_sys_log('sp_delete_batch_report','batch_id = '||coalesce(batch_id::text,'null')); select fn_result_success() from dblink_exec(fn_conn_authen(), format('Delete from batch_report where id = %L', batch_id)) --AS (result_data json) into res; return res; end