Subject R: [firebird-support] CAST CHAR to INTEGER
Author palberto@libero.it
I'm sorry, I understood...
 it work!

----Messaggio originale----
Da: firebird-support@yahoogroups.com
Data: 29/07/2015 11.20
A: <firebird-support@yahoogroups.com>
Ogg: [firebird-support] CAST CHAR to INTEGER

 

Hi all,
 how can I make this cast in Firebrid 2.5.4 (if is it  possible?)

DECLARE VARIABLE QTA  CHAR (5);
DECLARE VARIABLE XYZ  INTEGER;

    XYZ  = cast(rtrim(ltrim(QTA))) as integer;


Let me know, best regards
Alpe