Buy Support
Incidents |
If you can't find your answer
in the FREE PUBLIC QDeveloper Forum, require URGENT Priority Support, or you need to send us
private or confidential information: |
Click Here
|
If you can't
login and post questions or you are having trouble viewing forum posts:
Click Here
|
Callback
Support |
If you live in USA, UK, Canada, Australia or New
Zealand, you can leave us details on your question and request us to call you back and discuss
them with you personally (charges apply). |
Click Here
|
Buy Support
Incidents |
If you can't find your answer
in the FREE PUBLIC QDeveloper Forum, require URGENT Priority Support, or you need to send us
private or confidential information: |
Click Here
|
|
Calculated Fields |
Author |
Message |
|
Posted : 2009-01-15 01:16:33 |
Is it possible to return calculated fields :
select myid, ((myint1 = 0) & (myint2 <>0)) as mycalc from mytable
Thanks
Andrew |
|
|
|
Tom |
|
Group | : Administrator |
Posts | : 5510 |
Joined | : 2006-02-17 |
|
Profile |
|
Posted : 2009-01-15 11:04:59 |
Calculated columns are possible:
Select (InvoiceLineQuantity * InvoiceLineRate) as CalculatedTotal from InvoiceLine
but your example is an conditional expression. |
|
|
|
|
Posted : 2009-01-15 20:51:21 |
Thanks Tom. Technically your example is also an expression. I think you are implying that basic calculations are possible but nothing more. No {fn EVAL(xxx)} for instance ? |
|
|
|
Tom |
|
Group | : Administrator |
Posts | : 5510 |
Joined | : 2006-02-17 |
|
Profile |
|
Posted : 2009-01-16 09:46:42 |
Correct, but you can now use CASE. Case and Union have been added to QODBC v9, see: Release 9.0.0.249 Fixes, but still have to be added to FlexODBC.
For more QODBC functions click here. (A lot to these are supported by FlexODBC also). |
|
|
|
|