Quantcast
Channel: Pentaho Community Forums
Viewing all articles
Browse latest Browse all 16689

error in javascript: For Input String: "oracle.sql.TIMESTAMP@7cf54"

$
0
0
Getting the error

Quote:

For Input String: "oracle.sql.TIMESTAMP@7cf54"
when using fireToDB. Here is the script:

Code:

var lkp_conn = "conn_dw";


var lkp_sql = "select min(max_date) from  (select max(logintime_local) as max_date from t_logons WHERE SRC =  '" + src + "' union select max(logintime_local) as max_date from s_logons WHERE SRC = '" + src + "'  ) ";

// get lkp array

Alert(lkp_sql);

var lkp_array = fireToDB(lkp_conn, lkp_sql);

What is up? Also, is there an easy way to paste the sql generated by concatenations/variable substitution in a query tool? Can't copy and paste from an Alert box....

Viewing all articles
Browse latest Browse all 16689

Trending Articles



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