on ā2015 Aug 03 2:34 PM
Hi ,
I have to capture the max date from the table and I am using the below function .
$G_LastUpdate = sql('Omega00', 'select max(LAST_UPDATE) from EMP_DIM');
print($G_LastUpdate);
But it is returning the NULL value instead of the value. I have tried different varchar field in the table but it is returning the value properly.
Please suggest what is wrong here . Why not it is working for datetime and working for varchar
I have tried in the SQL editor it is working fine . But It is not giving the DS script .
Thanks & Regards,
Venkata Ramana Paidi
Request clarification before answering.
Please check the connection of datastore !! It may be possbile your datastore is pointing to some other database!
Thanks,
SB
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 12 | |
| 9 | |
| 7 | |
| 5 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.