Hi,
I am trying to update a column of type date with currentdate using JDBC adapter but myDesign studio is crashing and not responding.
Have tried all the below syntax but not making it run successfully.
GET("JDBC", "-URL <url> -USER <userid> -PASSWORD <pwd> -TV -QUERY 'update tablename set updated_on =? where id= ?'", ""+FROMDATETIME(CURRENTDATE())+"|1")
GET("JDBC", "-URL <url> -USER <userid> -PASSWORD <pwd> -TV -QUERY 'update tablename set updated_on =CURRENT_DATE where id= ?'", "1")
GET("JDBC", "-URL <url> -USER <userid> -PASSWORD <pwd> -TV -QUERY 'update tablename set updated_on =SYSDATE where id= ?'", "1")
GET("JDBC", "-URL <url> -USER <userid> -PASSWORD <pwd> -TV -QUERY 'update tablename set updated_on =? where id= ?'", "SYSDATE|1")
Please share if anyone has any thoughts on it.
------------------------------
Santanu Baral
------------------------------