The following formula works perfectly...
Code:
<property name="currentTimestamp" type="string" formula="( SELECT CURRENT TIMESTAMP FROM sysibm.sysdummy1 )"/>
...but this formula fails...
Code:
<property name="currentServer" type="string" formula="( SELECT CURRENT SERVER FROM sysibm.sysdummy1 )"/>
..with the following error...
DB2 SQL Error: SQLCODE=-104, SQLSTATE=42601, SQLERRMC=this_.server;0_, ( values(current;<space>, DRIVER=3.50.152
Why would CURRENT TIME, TIMESTAMP & DATE all work, but CURRENT SERVER (and many others) fail? (I also tried "values(current server)" with the same error)
Thx,
George