I am trying to create an SP using Pervasive SQL v8.5. I cannot figure out what I am doing wrong. Here is my code:
I am getting this error:
"ODBC Error: SQLSTATE = S1000, Native error code = -5099
2: 'select': Syntax error"
Any ideas?
Software Sales, Training, Implementation and Support for Macola, eSynergy, and Crystal Reports
Code:
CREATE PROCEDURE UpdatePoStatus()
returns(select ord_no char(8) from POORDHDR_SQL)
I am getting this error:
"ODBC Error: SQLSTATE = S1000, Native error code = -5099
2: 'select': Syntax error"
Any ideas?
Software Sales, Training, Implementation and Support for Macola, eSynergy, and Crystal Reports