Quantcast
Channel: Toad Data Point Forum - Recent Threads
Viewing all articles
Browse latest Browse all 2544

RE: If Statement in Query Builder

$
0
0

You need to make a calculate field.

Case
     When Billing_Code < 20000 Then My_Amount_Field
      Else ( My_Amount_Field * -1 )  /* will change the amount to a negative assuming the Amt is positive */
 End AMT


Viewing all articles
Browse latest Browse all 2544

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>