From a3ccc289ffbd4de5677c059e44c6e8bc68e7fa23 Mon Sep 17 00:00:00 2001 From: kanoi Date: Wed, 10 Sep 2014 17:41:39 +1000 Subject: [PATCH] sql - format the diffacc with commas --- sql/bs.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/bs.sql b/sql/bs.sql index 5c701067..4d526cc0 100644 --- a/sql/bs.sql +++ b/sql/bs.sql @@ -39,6 +39,6 @@ BEGIN select sum(diffacc) from sharesummary where workinfoid > wi0 and workinfoid <= wi into da; - RAISE WARNING 'diffacc: %', da; + RAISE WARNING 'diffacc: %', to_char(da::bigint, 'FM999,999,999,999,999,990'); END IF; END $$;