↧
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 ArticleGetting 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