Index: openacs-4/contrib/obsolete-packages/acs-workflow/sql/postgresql/sample-expenses-drop.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/contrib/obsolete-packages/acs-workflow/sql/postgresql/sample-expenses-drop.sql,v
diff -u -r1.1 -r1.2
--- openacs-4/contrib/obsolete-packages/acs-workflow/sql/postgresql/sample-expenses-drop.sql	12 Apr 2001 00:12:06 -0000	1.1
+++ openacs-4/contrib/obsolete-packages/acs-workflow/sql/postgresql/sample-expenses-drop.sql	19 Nov 2001 18:20:33 -0000	1.2
@@ -10,11 +10,18 @@
 -- @cvs-id $Id$
 --
 
+begin
+    workflow.delete_cases(workflow_key => 'expenses_wf');
+end;
+/
+show errors;
 
-select workflow__delete_cases('expenses_wf');
-
 drop table wf_expenses_cases;
 
-select workflow__drop_workflow('expenses_wf');
+begin
+    workflow.drop_workflow(workflow_key => 'expenses_wf');
+end;
+/
+show errors;
 
 
