Re: Basics on stored procedures
Apologize for the delay.got hung up @ some other work .btw the calling program is in SQLRPGLE
Apologize for the delay.got hung up @ some other work .btw the calling program is in SQLRPGLE

select COLUMN_A, COLUMN_B into localVarColumnA, localVarColumnB from MY_TABLE order by THE_COLUMN_WHICH_DEFINES_LAST desc fetch first row only
Comment