FROM tabjdbexploit INNER JOIN tabmsgacp ON tabjdbexploit.jdbeid = tabmsgacp.acpid
ORDER BY tabjdbexploit.jdbedate ASC $$;
All seems OK in PgAdmin 4, procedure is created
I use ODBC and Crecorset in C++
When i use the call strSQL = "{CALL procacp()}". It don't work :
Message error : ERROR: procacp() is a procedure
I don't know what to do
Thanks in advance for any assistance
Jean-Claude
I am fairly sure that you need to make an FUNCTION and not a PROCEDURE. Functions return values. Procedures do not. Why not try replacing the word PROCEDURE with FUNCTION and give it another try?