Re: how to perform minus (-) operation in a dynamic query - Mailing list pgsql-sql

From Markus Wanner
Subject Re: how to perform minus (-) operation in a dynamic query
Date
Msg-id 487B3BE0.9090605@bluegap.ch
Whole thread Raw
In response to how to perform minus (-) operation in a dynamic query  ("Anoop G" <anoopmadavoor@gmail.com>)
List pgsql-sql
Hi,

Anoop G wrote:
> vchr_query:= 'SELECT mf,sf,(mf – mf * comm /100) – (sf – sf * comm/100) 
> as flt_claim';

Simply use a real minus sign '-', and not a hyphen '–'. (Try 
copy'n'pasting from this email, if nothing else works ;-) )

Regards

Markus



pgsql-sql by date:

Previous
From: "A. Kretschmer"
Date:
Subject: Re: how to perform minus (-) operation in a dynamic query
Next
From: Tom Lane
Date:
Subject: Re: how to perform minus (-) operation in a dynamic query