Thanks,
Anil
execute dbo.Pr_Sel_XXX @division ='ABC' output (3 MilliSeconds)
Error -131 (rc -1) : SQLSTATE = 37000
[Sybase][ODBC Driver][Adaptive Server Anywhere]Syntax error or access violation:
near 'output' in ...(@division ='' [output] )
Thanks,
Anil
On Fri, 17 Sep 1999 20:51:13 -0500,
in sybase.public.sqlanywhere.general
IT is Declared in PB as below:
DECLARE lp_userdivinit PROCEDURE FOR dbo.Pr_Sel_Users_DivisionInit
@division = :is_userdivinit output ;
execute lp_userdivinit;
Fetch lp_userdivinit into :is_userdivinit;
close lp_userdivinit;
It works fine in PB\ASE .
It gives the below error in PB\ASA
execute dbo.Pr_Sel_Users_DivisionInit @division ='' output (9 MilliSeconds)
Error -131 (rc -1) : SQLSTATE = 37000
[Sybase][ODBC Driver][Adaptive Server Anywhere]Syntax error or access violation:
near 'output' in ...(@division ='' [output
The same happens with lot of other procedures.
On Mon, 20 Sep 1999 12:55:12 -0500,
in sybase.public.sqlanywhere.general
Jim Egan <je...@dyn-data.com> wrote:
Anil
IMO, things are just easier if you return a result set. The syntax for
ASE and ASA procedures would be almost identical (if not 100%) if you
used a result set.