I am attempting to create a stored procedure in Pervasive Control Center 2000i and I keep getting an syntax error:
[Pervasive][ODBC Client Interface][LNA][Pervasive][ODBC Engine Interface][Data Record Manager][SPEng]1: 'AS': Syntax error
The following is my code:
CREATE PROCEDURE modscrn AS
select screen_id, screen_name from adscrfil_sql where (screen_name <> 'MACOLA') union
select screen_id, screen_name from apscrfil_sql where (screen_name <> 'MACOLA')
Any ideas what the syntax error is?
Software Sales, Training, Implementation and Support for Exact Macola, eSynergy, and Crystal Reports
[Pervasive][ODBC Client Interface][LNA][Pervasive][ODBC Engine Interface][Data Record Manager][SPEng]1: 'AS': Syntax error
The following is my code:
CREATE PROCEDURE modscrn AS
select screen_id, screen_name from adscrfil_sql where (screen_name <> 'MACOLA') union
select screen_id, screen_name from apscrfil_sql where (screen_name <> 'MACOLA')
Any ideas what the syntax error is?
Software Sales, Training, Implementation and Support for Exact Macola, eSynergy, and Crystal Reports