Quantcast
Channel: Getting returned value from a stored procedure in PostgreSQL - Stack Overflow
Browsing latest articles
Browse All 2 View Live

Answer by Onots for Getting returned value from a stored procedure in PostgreSQL

Try using ExecuteScalar instead of ExecuteNonQuery. I seem to recall that ExecuteNonQuery doesn't return a result either.

View Article


Getting returned value from a stored procedure in PostgreSQL

I have a stored procedure in PostgreSQL:CREATE OR REPLACE FUNCTION dosmth()RETURNS boolean AS$BODY$BEGINRETURN FALSE; END; $BODY$ LANGUAGE 'plpgsql' VOLATILEFrom ado.net I need to retrieve the return...

View Article

Browsing latest articles
Browse All 2 View Live


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