Witam,
próbuję stworzyć cursor w danej procedurze, jego definicja wygląda tak (lub zamierzona definicja ;)
declare k1 SCROLL cursor for (select kwota_wn,datadekretu from dekr d where [email protected] order by DATADEKRETU )
Niestety dostaje zwrotny komunikat z błędem:
Incorrect syntax near the keyword 'order'.
Proszę o jakieś sugestie.