AnnetteB1305
Technical User
Hello,
I have tested this in Navicat and working fine but it is throwing an error when putting this into a command in crystal reports. It is saying there is an error in the sql syntax. If I take out this section
set @rownum=0;
Select
@rownum := @rownum +1 as ranknum,
then fine but I need a rownumber to show a rank. Any help would be greatly appreciated
Thanks,
Annette
I have tested this in Navicat and working fine but it is throwing an error when putting this into a command in crystal reports. It is saying there is an error in the sql syntax. If I take out this section
set @rownum=0;
Select
@rownum := @rownum +1 as ranknum,
then fine but I need a rownumber to show a rank. Any help would be greatly appreciated
Thanks,
Annette