Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8511

Re: Error when executing query

$
0
0

Hi Ben,

 

I am not sure if you managed to resolve this problem - but I had something similar - I was returning an object rather than an expected string. I believe you maybe be able to use .toString() to "stringify' the object.

 

Also if the t-sql you are performing is an Update, the pstmt.executeUpdate() is the corresponding call rather than executeQuery() - this was the error I had.

 

Cheers Paul


Viewing all articles
Browse latest Browse all 8511

Trending Articles



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